Sourced from phoenix_live_view's changelog.
0.20.2 (2023-12-18)
Bug fixes
- Fix javascript error when submitting a form that has in progress uploads
- Fix JS command
:targetfailing to work when used as phx-submit or phx-change with a selector-based target- Fix
JS.focus()failing to focus negative tabindex- Fix
LiveViewTestfailing to remove items after stream reset- Fix
phx-window-blurandphx-window-focusevents not firing- Fix SVG anchor links throwing errors when clicked
Enhancements
- Speed up DOM patching performance 3-30x 🔥
- Support
handle_asyncLifecycle callback- Extend visibility checks for phx-click-away to better handle whether an element is visible in the viewport or not
- Allow
JS.patchandJS.navigateto be tested withrender_click- Support
:supervisoroption toassign_asyncandstart_async
343911f
Release 0.20.20cb17d6
Bump build297a782
Optimize maybeHideFeedback for initial page render (#2953)744a3ab
Fix error on missing childdb964c5
Fix issue with new elements in stream DOM test (#2677)4ca4885
Bump changelog997af57
Add async supervised (#2818)2864bc0
Clarify return values of :external upload functions (#2821)639daf0
Bump build067b632
Use moudedown rather than clicks. Fixes #2856
#2554