impress/app/assets/javascripts
Emi Matchu 1f1c6d92b1 Oops, fix item page's "Customize More" not animating after color change
Ah whoops, I didn't notice that, when Turbo morphs the
`<measured-container>` into what the server HTML returns, it deletes
the `style` attribute we were using.

In this change, I refactor for `MeasuredContainer` to be the component
rather than `MeasuredContent`, so that it can also be responsible for
listening for changes to its own `style` prop, and remeasuring when
they happen.

We're also careful to avoid infinite loops, by only doing this when the
property is missing! (Otherwise, setting `--natural-width` triggers the
callback again, oops!)
2024-09-29 14:59:52 -07:00
..
closet_hangers Replace closet_hangers/petpage.js with modern CSS 2024-09-20 19:27:39 -07:00
closet_lists Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
fundraising/donations Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
items Oops, fix item page's "Customize More" not animating after color change 2024-09-29 14:59:52 -07:00
outfits fix hash in Thanks for showing us banner 2024-09-09 21:37:56 -07:00
pets Remove ajax_auth.js lib, by merging it in where needed 2024-09-20 19:10:26 -07:00
swf_assets Potentially improve loading state in new item page preview 2024-07-08 16:44:22 -07:00
outfit-viewer.js Replace some JS with the @starting-style CSS directive 2024-09-24 19:33:06 -07:00