Comments (5)
@Nikita-Shaked-dev , thank you for raising this. I think this happens because of using dialog, it works fine in the normal tooltip , but when trying to fire this tooltip in-side the dialog layer , some additional layer with user-select properties or "handleMouseDown" method is added which prevent the select on mouse down , but work's on mouse double click .
I able to do the same as you do, outside it is working, thats why I do expect to have same behaviour inside of the dilaog. Ive seen something similar in issues, but havent found solution to solve my issue. Any idea how can I do that? Thanks
from material-ui.
@Nikita-Shaked-dev I am able to select the text in the codesandbox you posted. Screenshot. Is this what you were trying to do ?
from material-ui.
@Nikita-Shaked-dev , thank you for raising this.
I think this happens because of using dialog, it works fine in the normal tooltip , but when trying to fire this tooltip in-side the dialog layer , some additional layer with user-select properties or "handleMouseDown" method is added which prevent the select on mouse down , but work's on mouse double click .
out-side Dialog | in-side Dialog |
---|---|
from material-ui.
@Nikita-Shaked-dev I am able to select the text in the codesandbox you posted. Screenshot. Is this what you were trying to do ?
please hover and see tooltip, then try to select text in tooltip
from material-ui.
Looks like a bug to me.
from material-ui.
Related Issues (20)
- [docs-infra] Migrate docs to Next App Router HOT 2
- [docs-infra] Create Cookie notice
- [docs-infra] Missing form label react-simple-code-editor HOT 1
- [docs-infra] Fix Base UI API tabs layout regresions HOT 6
- [docs-infra] Improve Netlify caching
- [website] Support the forward of utm_source in the /careers/ job pages to Ashby
- [docs-infra] Enable Algolia click analytics
- [material-ui][docs] Material Icon search lags
- [docs-infra] Allow {{"component": “}} to import from same markdown folder HOT 2
- [docs-infra] Product switcher popup not closing HOT 5
- [material-ui][Autocomplete] `freeSolo` prop not working HOT 7
- [base-ui][Switch] Implement new API
- [material-ui] Review M3 token naming format
- [material-ui][Autocomplete] onChange never fired HOT 2
- [docs-infra] Prevent to set `undefined` as a default value
- [docs] Improve Autocomplete `options` prop description HOT 1
- [docs] Demo HorizontalLinearStepper crashes
- Select menu width not taking border into account HOT 3
- [material-ui] Add readOnly prop to all form input elements HOT 3
- [tooltip] Preventing from unnecessarily rerendering the children component HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.