animations #9417
Closed
vytautas-pranskunas-
started this conversation in
Ideas
animations
#9417
Replies: 1 comment 4 replies
-
CSS transitions are controlled by CSS variable <tui-root [style.--tui-duration.ms]="100">...</tui-root> It would take precedence over built-in binding. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i wanted to control animation duration for example to shorten input field highlight and you said it is a bit complex and i should just use { provide: TUI_ANIMATIONS_SPEED, useValue: 0 },. This worked for me until now. Now i want to use bottom sheet and modals. There animation should play like when bottom sheet is expanding from the bottom.
any ideas how to atchieve that?
I mean i can pass duration to appeareance like this:
but i guess not all components has that..
@include transition(border, var(--duration));
i think it would be great to have some enum setting noAnimation, shortAnimation, longAnimation where components like textbox would use short or no animation for border highlight because it looks weired when border highlights for 300ms, but for bottom sheet 300ms it is good
Beta Was this translation helpful? Give feedback.
All reactions