-
Notifications
You must be signed in to change notification settings - Fork 33
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
Slider not working inside a flex container #1906
Conversation
Bundle Size Diff
|
Plugin build for 0bbfa37 is ready 🛎️!
|
E2E TestsPlaywright Test Status: Performance ResultsserverResponse: 184.4, firstPaint: 565.1, domContentLoaded: 1647.9, loaded: 1649.9, firstContentfulPaint: 9692.15, firstBlock: 16616, type: 41.25, minType: 38.71, maxType: 46.97, typeContainer: 12.25, minTypeContainer: 10.83, maxTypeContainer: 16.66, focus: 58.61, minFocus: 52.11, maxFocus: 71.81, inserterOpen: 23.45, minInserterOpen: 22.21, maxInserterOpen: 25.43, inserterSearch: 7.59, minInserterSearch: 7.25, maxInserterSearch: 8.34, inserterHover: 36.35, minInserterHover: 34.28, maxInserterHover: 38.09, listViewOpen: 149.14, minListViewOpen: 134.29, maxListViewOpen: 178.43 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your solution is 🔥 . Also, it is not breaking for me in Chrome, Vivaldi, Firefox, and Safari 💯
https://github.com/Codeinwp/otter-blocks/assets/17597852/b9056dd2-9691-4e1d-b004-ad5240c8fef9
hey @cristian-ungureanu I'm not sure what I'm missing, but the slider is not working for me. I've tried both on instawp and local. https://vertis.d.pr/v/vL02Tl
|
Hey @rodica-andronache, thanks for testing. I opened another ticket for it here: #1907, it seems the files are not loaded if you add a Slider block in the header like this. When I tested it, I had another slider block inside my page, that's why I didn't see this issue. Hardeep or Robert should be able to handle it. Until then, to test this particular issue, you can add another slider inside the page content. |
@cristian-ungureanu ok, tested again with another slider in the content of the page, and I can confirm that in that case, the slider from the header is loading as well. |
Now, the slider should work in Neve Header on Mobile. The solution was not noticeable at first. When you use the header builder for desktop and mobile, and add the same widget then the slider will appear in two places: the section for desktop and the section for mobile. Because we were using a dump selector like We should avoid as much as possible to make selectors like this because it took a noticeable time to debug. |
🎉 This PR is included in version 2.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Closes #1750, Codeinwp/neve#4092.
Summary
Test instructions
Please note that the issue I've mentioned here is still there but I think we can consider it an edge case. Here's how it manifests: https://vertis.d.pr/v/Nm55m6
Checklist before the final review