home.social

#viewtransition — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #viewtransition, aggregated by home.social.

fetched live
  1. Анимируем элемент <dialog> с помощью view transitions. Рик Скеннинк применяет View Transitions API как прогрессивное улучшение: проверяет prefers-reduced-motion и поддержку startViewTransition, переносит view-transition-name с <button> и её текста на <dialog> и его заголовок внутри startViewTransition(), превращая кнопку в модальное окно. #css #viewtransition

    pqina.nl/blog/animating-the-di

  2. Анимируем элемент <dialog> с помощью view transitions. Рик Скеннинк применяет View Transitions API как прогрессивное улучшение: проверяет prefers-reduced-motion и поддержку startViewTransition, переносит view-transition-name с <button> и её текста на <dialog> и его заголовок внутри startViewTransition(), превращая кнопку в модальное окно. #css #viewtransition

    pqina.nl/blog/animating-the-di

  3. Animating the <dialog> element using view transitions. @rikschennink uses the View Transitions API as a progressive enhancement, behind a check for prefers-reduced-motion and startViewTransition support, moving view-transition-name from a button and its label onto the dialog and its title inside startViewTransition() to morph button into modal. #css #viewtransition

    pqina.nl/blog/animating-the-di

  4. Animating the <dialog> element using view transitions. @rikschennink uses the View Transitions API as a progressive enhancement, behind a check for prefers-reduced-motion and startViewTransition support, moving view-transition-name from a button and its label onto the dialog and its title inside startViewTransition() to morph button into modal. #css #viewtransition

    pqina.nl/blog/animating-the-di

  5. Introducing view-transitions-mock, a non-visual polyfill for same-document view transitions. @bramus built a spec-compliant JavaScript implementation of the View Transition API that works across all browsers. It handles document.startViewTransition(), the ViewTransition class with its promises, and view transition types. Animations are skipped in unsupported browsers, but DOM updates work as expected. #viewtransition #polyfill

    bram.us/2026/03/11/view-transi

  6. Introducing view-transitions-mock, a non-visual polyfill for same-document view transitions. @bramus built a spec-compliant JavaScript implementation of the View Transition API that works across all browsers. It handles document.startViewTransition(), the ViewTransition class with its promises, and view transition types. Animations are skipped in unsupported browsers, but DOM updates work as expected. #viewtransition #polyfill

    bram.us/2026/03/11/view-transi

  7. Представляем view-transitions-mock — невизуальный полифил для view transition в рамках документа. Брамус Ван Дамм создал JavaScript-реализацию View Transition API совместимую со спецификацией, которая работает во всех браузерах без кучи условий в коде. Она обрабатывает document.startViewTransition(), класс ViewTransition с промисами и типы View Transition. Обновления DOM идентичны нативным, но анимации пропускаются в старых браузерах. #viewtransition #polyfill

    bram.us/2026/03/11/view-transi

  8. Представляем view-transitions-mock — невизуальный полифил для view transition в рамках документа. Брамус Ван Дамм создал JavaScript-реализацию View Transition API совместимую со спецификацией, которая работает во всех браузерах без кучи условий в коде. Она обрабатывает document.startViewTransition(), класс ViewTransition с промисами и типы View Transition. Обновления DOM идентичны нативным, но анимации пропускаются в старых браузерах. #viewtransition #polyfill

    bram.us/2026/03/11/view-transi

  9. It looks like some basic view transition stuff is finally coming to #Firefox, this demo works in 144 dev edition (stable is now 143): mdn.github.io/dom-examples/vie or 6440m.hatchboxapp.com/photos

    #ViewTransition #Web

    (but fuck DHH)

  10. It looks like some basic view transition stuff is finally coming to #Firefox, this demo works in 144 dev edition (stable is now 143): mdn.github.io/dom-examples/vie or 6440m.hatchboxapp.com/photos

    #ViewTransition #Web

    (but fuck DHH)

  11. If you call `document.startViewTransition()` twice synchronously:

    - Chrome: continues applying the first call's transition
    - Safari: aborts the first call's transition and throws "AbortError: Old view transition aborted by new view transition."

    Chrome's behavior would result in fewer aborted animations, which seems like a good thing. However, Safari's behavior seems like an intentional choice. Which is correct?

  12. If you call `document.startViewTransition()` twice synchronously:

    - Chrome: continues applying the first call's transition
    - Safari: aborts the first call's transition and throws "AbortError: Old view transition aborted by new view transition."

    Chrome's behavior would result in fewer aborted animations, which seems like a good thing. However, Safari's behavior seems like an intentional choice. Which is correct?

    #googlechrome #safari #viewtransition #css

  13. Pretty cool how simple it is to strap in #viewtransition with #HTMX without any fuzz and completely in the spirit of #progressiveenhancent ❤️

    I’ll definitely strap this in and be ready for browser compatibility to get there 😊

    khalidabuhakmeh.com/view-trans

  14. Pretty cool how simple it is to strap in #viewtransition with #HTMX without any fuzz and completely in the spirit of #progressiveenhancent ❤️

    I’ll definitely strap this in and be ready for browser compatibility to get there 😊

    khalidabuhakmeh.com/view-trans

  15. I want the thumbnails to open the full version in a modal, with next/prev arrows to navigate between multiple images attachments.

    I'll probably use a <dialog> but I kinda wonder if there's a way for me to shoe horn a #viewTransition into this cause I want to play with the #ViewTransitions #API.

    Maybe clicking the date can open an individual post, and I can use a #ViewTransitionAPI to navigate to that...

    #webDev #mastodon #client #javaScript #CSS #HTML

  16. I want the thumbnails to open the full version in a modal, with next/prev arrows to navigate between multiple images attachments.

    I'll probably use a <dialog> but I kinda wonder if there's a way for me to shoe horn a #viewTransition into this cause I want to play with the #ViewTransitions #API.

    Maybe clicking the date can open an individual post, and I can use a #ViewTransitionAPI to navigate to that...

    #webDev #mastodon #client #javaScript #CSS #HTML

  17. #Development #Techniques
    Getting started with View Transitions on multi-page apps · “The ability to easily create quality 60 FPS page transitions is a game changer.” ilo.im/131ygn

    _____
    #Chrome #WebDevelopment #WebDev #Frontend #CSS #JavaScript #ViewTransition #ProgressiveEnhancement

  18. #Development #Techniques
    Getting started with View Transitions on multi-page apps · “The ability to easily create quality 60 FPS page transitions is a game changer.” ilo.im/131ygn

    _____
    #Chrome #WebDevelopment #WebDev #Frontend #CSS #JavaScript #ViewTransition #ProgressiveEnhancement