You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IconButton: sized through style, it keeps its named size's hit slop, so the target stays under 48dp #5310
IconButton reaches the 48dp minimum touch target through hit slop, but the hit slop is computed from the container of its named size (40dp for the default small), not from its laid-out size. A button made smaller through style, which is documented "for positioning and size", keeps that hit slop: with style={{ width: 30, height: 30 }} it gets 4dp on each side, a 38dp target.
Expected behaviour
The hit slop follows the laid-out size, so the target reaches 48dp.
Activity