Open mrh1997 opened 1 month ago
By the way: the same Components works without trouble on svelte 4 (and iOS): https://svelte.dev/repl/4987a7b0a7fb4ebc990140bdce6fa3ac?version=4.2.19
Hey, I have encountered the same issue and used a few workarounds:
overflow
style of the wrapper div around the animated objects to overflow: hidden;
margin
inside the animated content because otherwise minimal clipping occursHere is a code example with these changes applied: https://svelte.dev/playground/40c0981a9f37499686b642840e7b67ce?version=5.1.9
Describe the bug
A slide transition on iOS/Safari does not „slide in“ an element step by step. Instead the content is show in one step and then the height is increased step by step. But as the content might overflow this results in an effect that does Not Look Like „slide in“. All other browsers work as expected.
As a graphic is better than words look at this screencast: https://www.screencast.com/t/W7aQv2SZK5K
Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACqVRTUvEMBD9K2MUdheUrh77BSILHsQVPHiwHrLNtIZNk5JMV5bQ_27TUPcHeJuZN_Pe441njVToWPrpmeYdspQ99j27ZXTuQ-NOqAin3pnB1mGSC3kqK12Rv5YNmB41ijH0FQUoVhWR5dpJkkanTkmBhfcgBsvnCTxst1sYx2XZ0VlhUbGO21ZO8D12GRx4fWytGbS4q40yNgUl229qjRKorRFnVMr8ZBWLLOVCNht8DiB8GKtEniyO_4deap_IZvK-DPLDQGQ0GF0rWR8Lv95AUcI6ZgMFXMVqM5b7t91r8vSyf9_lSbwKhDp3tZU9geK6nWIgV7FZSHa9sQQe5ghhhMaaDlbxKckl4lUWthUS_GneOOKE64Yrh5ssmI0aE-_0zc4I2UgULCU74Pg1_gJaN3c8CAIAAA==
System Info
Severity
blocking an upgrade