Please consider making "overflow: hidden;" style opt-in
See original GitHub issueCurrently the overflow: hidden
style is hard-coded into the React component returned by useEmblaCarousel()
.
It would be great if this style could be documented as a recommended style in the CSS section of the installation instructions instead of being forced on the component. I’m currently working on a project where I want the inactive slides to be visible outside the container and this style is preventing this.
Happy to submit a PR if this is something you would consider accepting!
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Please consider making "overflow: hidden;" style opt-in #94
Currently the overflow: hidden style is hard-coded into the React component returned by useEmblaCarousel(). It would be great if this style ...
Read more >Position absolute and overflow hidden
Is there any chance to make the inner DIV obey the overflow hidden of the outer DIV without setting the outer DIV to...
Read more >overflow - CSS: Cascading Style Sheets - MDN Web Docs
Similar to hidden , the content is clipped to the element's padding box. The difference between clip and hidden is that the clip...
Read more >Overflow In CSS - Ahmad Shadeed
Possible Keywords For Overflow. The overflow property can accept the following possible values: visible, hidden, scroll, auto .
Read more >How to prevent overflow scrolling in CSS - LogRocket Blog
This article will discuss what an overflow scroll in CSS is, explain what causes this issue, and suggest ways to fix the problem,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi David, sorry that it’s taken me so long to get a chance to try this. The project was put on hold for a couple of weeks while I worked on other stuff. Pleased to say this is working perfectly. Thanks for taking the time to implement my request. I really appreciate it.
Hello @samhastings, I understand, we can all be busy sometimes. Thanks a lot for taking the time to confirm that it’s working as expected. Enjoy 🙂.
Best, David