mui / mui/base-ui

[tabs] Animations should skip when the delta between updates is greater than the animation duration

Open
#2,062 1 comment 0 reactions 0 assignees View on GitHub
component: tabs type: enhancement
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

# Feature request

## Summary

When we update tabs quickly, we notice that the gray area of the tab does not reflect the currently selected tab

https://github.com/user-attachments/assets/bbec94c3-7aa4-4056-afc8-05a0d3112c9b

## Examples in other libraries

This [x post](https://x.com/raunofreiberg/status/1889700377584431479) suggests skipping the animations when the delta between updates is greater than the animation duration

## Motivation

It's a lovely detail to add to the library

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.