Add scrollable attribute to amp-image-lightbox
See original GitHub issueamp-lightbox
supports a scrollable
attribute
https://www.ampproject.org/docs/reference/components/amp-lightbox
can the scrollable
attribute also be supported in amp-image-lightbox
?
/jay gray
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
How do you add a scroll bar to a div? - Stack Overflow
You need to add style="overflow-y:scroll;" to the div tag. (This will force a scrollbar on the vertical). If you only want a scrollbar...
Read more >HTML | <iframe> scrolling Attribute - GeeksforGeeks
The HTML <iframe> scrolling Attribute is used to specify whether the scrollbar will be displayed or not in the <Iframe> Element.
Read more >ARIA: scrollbar role - Accessibility - MDN Web Docs - Mozilla
The aria-controls attribute references the id of the scrollable ... use this property to make the scrollbar value more understandable to ...
Read more >Scrollable - Lightning Design System
Make a containing box scrollable when scrolling is available. About Scrollable#. Use the scrollable utility when you need to provide scrolling within a...
Read more >How to add scrollbar to div - Educative.io
Fortunately, CSS has a property called overflow to deal with clipped data due to restricted dimensions of the container. You can configure overflow...
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 Free
Top 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
Hi @jaygray0919 thank you for the example. I think we can find a way to make that work.
Lightbox 2.0 will have a slightly different API. It’s currently under the extension
<amp-lightbox-viewer>
, and used with thelightbox
attribute (though this API may change pending review). The way you would use it is to includeand add a
lightboxed
attribute to youramp-carousel
.here is a sample SVG:
flavonoids.zip