-
-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Header no longer has rounded corners (regression) #308
Comments
Looks like it's caused by "ui inverted dimmer" which is now inserted as a first div inside a modal, and therefore breaks selector: Perhaps |
Possibly that's a bug of atkjs, created related issue there, although strange that it appeared after the switch. |
@romaninsh I reckon it is https://fomantic-ui.com/modules/modal.html#/examples all those examples seem fine |
Please adjust your (backend/atk)-code to not insert an additional manual dimmer div when working with modals. |
There is no example with a closing "X" and dimmer. |
@lubber-de here is the modal creation code: https://github.com/atk4/ui/blob/develop/js/src/plugins/createModal.js I don't see any tampering with the DOM. |
😕 A modal always creates an internal dimmer and an example having a close icon can be found here https://fomantic-ui.com/modules/modal.html#full-screen The created dom has the close icon as its first div child and the dimmer itself is surrounded |
I found it. it's used in the |
@romaninsh It's fixed in #310 and supposed to be part of the next release. |
When a modal had `allowMultiple:true` set, the top border radius was not set anymore. This regression happens since an additional dimmer was introduced in #119 to prevent the ability to interact with modals that are not the focused one. This PR now takes care of a possible existing extra dimmer and shows top border radius correctly again Closes #308
@lubber-de no worries. My investigation was also missleading. Thanks for addressing it so promptly. |
When a modal had `allowMultiple:true` set, the top border radius was not set anymore. This regression happens since an additional dimmer was introduced in #119 to prevent the ability to interact with modals that are not the focused one. This PR now takes care of a possible existing extra dimmer and shows top border radius correctly again Closes #308
Bug Report
After switching our project from Semantic to Fomantic, we noticed that dialog top edges are no longer rounded. After some digging we noticed that "header" had rounded corners before, but it is no longer the case:
Image before:
And after:
This affects all the dialogs.
Steps to reproduce
Testcase
http://ui.agiletoolkit.org/demos/modal2.php
Version
2.6.4
The text was updated successfully, but these errors were encountered: