-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[BUG] Few panes in single page - pane styles bug #133
Comments
@spb-web I think we can just apply additional classes for configurations. E.g.
And create styles at beginning. Feel free to create pull, i will review and adjust if needs. |
@roman-rr If we use classes and “style” tags for styling, then we will have to add the removal of unused “style” tags when the panel is destroyed. It's easier for me to use inline styles. See an example of this. This is not complete code yet, but it is sufficient. |
@roman-rr @spb-web I'm also facing a wired style issue, where panes styles working weirdly ( no animation or wrong opening positions ). Now when you open Pane a first and then go for pane b, pane b will work weirdly, and same if you do reverse. But when you open Pane b and pane c in sequence all works fine. After hours of debugging I found that, Cupertino creates style tags for panes and add them to the head section (which is causing issues here), and when you destroy a pane styles stays there it doesn't get removed.
I think @spb-web is right we can use inline-styles, which will eliminate above mentioned issue. |
@Vishal-Isharani @spb-web i will personally work on it on the next 24 hrs. |
@Vishal-Isharani Should be fixed in master branch. But in next few days will be released as |
That's is some quick @roman-rr, |
We can try using inline styles. Then, when initializing a new pane, new "style" tags will not be created. And to apply the theme, we can use css variables. I would do it if it fits into the development plans.
The text was updated successfully, but these errors were encountered: