-
Notifications
You must be signed in to change notification settings - Fork 218
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
fw.soleModal z-index override places it behind fw.OptionsModal #355
Comments
And I am not sure if this param should display soleModal ID Unyson/framework/static/js/fw.js Line 1187 in 1b9cd4d
but it does not in my case
|
Look in page footer, if the modal is there, then the required styles are not enqueued, try to run on that page (php) |
all styles are there and the page is theme options , fw.css is loaded https://github.com/ThemeFuse/Unyson/search?utf8=%E2%9C%93&q=fw-sole-modal |
|
I tried
and
in hooks.php |
About the ID being displayed. CSS z-index bug will be investigated later. |
Ah ok , well that did not work http://prntscr.com/6gb7oj |
I executed the code below in my browser console and the modal was opened fw.soleModal.show( 'thz_style_exists', 'Hello', {
autoHide: 5000,
allowClose: true
}
); |
about ID , I dont need it specifically now , just wanted to give you heads up. Unyson/framework/static/js/fw.js Line 1187 in 1b9cd4d
Modal opens just fine, I thought that this Unyson/framework/static/js/fw.js Line 1187 in 1b9cd4d
should place an attribute ID here http://prntscr.com/6gb9hf |
For Z-index bug test this in console
|
That id is used to prevent the same modal being open multiple times. For e.g. currently a modal is open (for 5 seconds), in that time, another script is calling Why do you need the id to be added in html? |
yes I just tested and is used as handle not as attribute ID, Unyson/framework/static/js/fw.js Line 1224 in 1b9cd4d
I dont need it , just thought it does places and ID attribue, when I ran in to z-index bug I wanted to catch only my modal by ID an give it higher index , thus the question. |
So that I can continue the work , I did this until bug is fixed
|
Yes, I think this is the solution, but I will see later. |
I have fw.OptionsModal open , if info i one of the inputs is incorrect I am calling
fw.soleModal to display the error, but it's z-index is lower than z-index from fw.OptionsModal so it ends-up being displayed behind the modal box. Seems like there is additional CSS override for it , see this ,
http://prntscr.com/6gakio
the fw.OptionsModal is media-modal-backdrop and has z-index of 160001
fw.soleModal original of 170001 would have worked fine but the override of 10000 kills it.
The text was updated successfully, but these errors were encountered: