Files
directus/docs
Rijk van Zanten 08203d0829 Fix snippet toggler active state, sync selected value across page (#19884)
* Use vueuse localStorage instead of custom

Fixes #19879

* Prevent flashing & jumping

- localStorage should only be initialized on client side, preventing
  flash if value in localStorage doesn't equal choices[0]
- updates from localStorage should only be applied if value exists in
  choices
- height of snippet toggler now always remains at the height of the largest content, preventing page jumping

* Use expanded fields syntax

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-10-04 14:32:57 -04:00
..
2023-07-25 14:46:06 -04:00
2023-08-03 15:27:18 -04:00
2023-08-01 10:29:33 -04:00