- GitHub Action workflow
- Accessibility improvements
- Sizes attribute to properly handle responsive images
- Programmatically set focus on figure elements on slide change
- srcset before src to avoid loading images twice
- scroll to top when opening lightbox
- Previous release regression
- Reset zoom in any case on cleanup from 2.6.0
- Next button after 2nd slide regression from 2.6.0
- GitHub Action workflow
- Single tap cycle on mobile not working in some cases
- Some elements on demo page were broken
- Allow Node 18 again
- Pinch zoom feature for touch devices
- Double click and wheel zoom with mouse/touch clamped pan
- Delayed tap on mobile for prev/next navigation
- Not clickable close() region above slider
- Apply opacity to buttons on :hover
- Change opacity on close button
- Support for audio element
- Bigger inline content in demo and
- Introduce captionHTML parameter
- Replace em function
- Big local video elements
- Missing close button in rare cases
- Update lightbox on remove element
- Adding/removing elements dynamically
- YouTube link in demo
- tobii.mjs -> tobii.modern.js
- All CSS custom properties are now prefixed with
--tobii-
to avoid conflicts (e.g.--tobii-base-font-size
instead of--base-font-size: 18px
).
- Unprefixed forms of CSS custom properties are deprecated and will no longer be supported in the next major release. Update now by adding the
--tobii-
prefix to your variables:- Before:
--base-font-size: 18px;
- After:
--tobii-base-font-size: 18px;
- Before: