Hidden component not working correctly when adding an extra breakpoints because of its static props #44734
Labels
component: Hidden
The React component.
out of scope
The problem looks valid but we won't fix it (maybe we will revisit it in the future)
Steps to reproduce
Steps:
2.Then i used a
<Hidden smUp>
component with the default JS integration3.Suddenly it showed the content when my screen was 3000,
Current behavior
The behaviour in Hidden is based on props, Then for smUp it then finds my screen with 3000 and breakpoint 2560 that for smUp it should be visible instead of hidden.
my values are:
Expected behavior
When i add a breakpoint which is bigger then the value set it should not influence be shown when i asked it to be hidden.
Context
We need extra breakpoints. It works in other MUI components nicely, only with the Hidden components it shows side effects
Your environment
npx @mui/envinfo
Search keywords: Hidden, breakpoint
The text was updated successfully, but these errors were encountered: