Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.11k stars 4.94k forks source link

[Modal] ESC closes all open modals #5768

Open indreksiitan opened 7 years ago

indreksiitan commented 7 years ago

What happens: If I have multiple modals open, then pressing the ESC key closes all open modals.

Expected behaviour: pressing the ESC key should only close the current/topmost modal. Especially since, unlike many over UIs, there is no X button on the modal itself to close by mouse.

indreksiitan commented 7 years ago

Since nested modals seem to be allowed by concept, I would label this as a bug, not an enhancement.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

indreksiitan commented 6 years ago

Raising this to be not stale.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

lubber-de commented 5 years ago

Fixed in https://github.com/fomantic/Fomantic-UI 2.5.1