Giter Club home page Giter Club logo

Comments (5)

madwill avatar madwill commented on May 18, 2024 6

I have had the same problem.

Somehow in firefox a "_dialog_overlay" gets over everything and prevent mouse input by capturing events.

Really have no idea what this does. But surprizingly if you remove it with simple

._dialog_overlay{
display:none;
}

Then the whole thing works normally. Perhaps it has to do with this :
7f8b3cc
Perhaps not.

Point is display none until further notice for me.

Thank you all

from dialog-polyfill.

mkc188 avatar mkc188 commented on May 18, 2024 1

same issue here +1

from dialog-polyfill.

samthor avatar samthor commented on May 18, 2024

Hey there, can you check out this repo and load this file in Firefox and Edge?

https://github.com/GoogleChrome/dialog-polyfill/blob/master/tests/form.html

In Firefox, which I've tested, I can focus on the input fine and submit the form. Can you provide sample code as to what's not working for you?

from dialog-polyfill.

noopole avatar noopole commented on May 18, 2024

I experienced the same beaviour because my dialog was place inside a div with a style with {position:fixed}, which make the dialog's z-index (100002) relative and therefore not recovering the _dialog_overlay.

from dialog-polyfill.

samthor avatar samthor commented on May 18, 2024

Closing this as it's related to incorrect use of stacking context. We now warn if you're making a mistake, and also are more permissive, so incorrect usage might still work: #131

from dialog-polyfill.

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.