GithubHelp home page GithubHelp logo

Comments (5)

Nikita-Shaked-dev avatar Nikita-Shaked-dev commented on May 3, 2024 1

@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
Screenshot from 2024-02-01 04-32-50 Screenshot from 2024-02-01 04-34-09

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.

partha51613 avatar partha51613 commented on May 3, 2024

@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.

mohamedsaiedd avatar mohamedsaiedd commented on May 3, 2024

@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
Screenshot from 2024-02-01 04-32-50 Screenshot from 2024-02-01 04-34-09

from material-ui.

Nikita-Shaked-dev avatar Nikita-Shaked-dev commented on May 3, 2024

@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.

ZeeshanTamboli avatar ZeeshanTamboli commented on May 3, 2024

Looks like a bug to me.

from material-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.