When checking this module I noted a few issues with the view-transition support.
- BFCache Support: I noticed view transitions are disabled for BFCache restores. Could we consider enabling this? A simple fade-in on a page restore would be a nicer user experience enhancement without any apparent downside.
prefers-reduced-motion: The prefers-reduced-motion wrapper seems unnecessary for a simple fade, as this type of animation is generally considered safe for users sensitive to motion. We should probably only use it for more significant animations.
- Theme Integration: The default Mage-OS theme already provides view transitions (see issue). To avoid code duplication, we should rely on the theme's implementation rather than adding it here.
- As a extra note on this while Hyvä ships this now as a experimental feature, we are moving this into the theme part of the CSS, so same as with the Mage-OS admin theme
When checking this module I noted a few issues with the view-transition support.
prefers-reduced-motion: Theprefers-reduced-motionwrapper seems unnecessary for a simple fade, as this type of animation is generally considered safe for users sensitive to motion. We should probably only use it for more significant animations.