-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
priority: importantThis change can make a difference.This change can make a difference.scope: text fieldChanges related to the text field.Changes related to the text field.type: regressionA bug, but worse, it used to behave as expected.A bug, but worse, it used to behave as expected.v6.x
Description
Steps to reproduce
Link to live example: Example
Steps:
- Open site on mobile (or emulate mobile device via DevTools of the browser)
- Click inside the input field
Current behavior
The border of the input field is not highlighted.
Expected behavior
The border of the input field is highlighted since this is the behaviour on desktop and @mui/material versions below 6.
Context
The user expects a visible clue on the border of a focused outlined input during input.
This issue seems be caused by a change of the style rule order introduced in @mui/material since version 6. The @media (hover: none)
currently takes priority and removes the highlighting of the border. Reference
Your environment
No response
Search keywords: @mui/material, OutlinedInput, Border, Focus, Mobile
vicasas and oliviertassinari
Metadata
Metadata
Assignees
Labels
priority: importantThis change can make a difference.This change can make a difference.scope: text fieldChanges related to the text field.Changes related to the text field.type: regressionA bug, but worse, it used to behave as expected.A bug, but worse, it used to behave as expected.v6.x