Toot: fix expansion animation on WebKit (fix #29)

This commit is contained in:
thislight 2024-10-22 23:24:31 +08:00
parent 3ca43b4282
commit 4da3263e17
2 changed files with 8 additions and 1 deletions

View file

@ -41,3 +41,9 @@ export function updateAcctInf(idx: number) {
```
Ja, the code is weird, but that's the best we know. Anyway, you need new object on the path of your changed value.
## `transition: *-block or *-inline` does not work on WebKit
Idk why, but transition on logical directions may not work on WebKit - sometimes they work.
Use physical directions to avoid trouble, like "margin-top, margin-bottom".