ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
91.92k stars 48.94k forks source link

`xs` breakpoint not true as screen grows #50939

Open bombillazo opened 1 hour ago

bombillazo commented 1 hour ago

Reproduction link

Edit on StackBlitz

Steps to reproduce

What is expected?

xs remains true when the screen grows

What is actually happening?

xs becomes false when going to the sm screen size

Environment Info
antd 5.20.6
React https://stackblitz.com/edit/antd-reproduce-5x-8rhlbh?file=demo.tsx
System MacOS
Browser Chrome
stackblitz[bot] commented 1 hour ago

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.