Comments (4)
Select open=true
prioritize closing Select and stop event bubbling
from ant-design.
@wanpan11 thanks for your quick answer. I don't understand though, are suggesting a potential solution, or just explaining why it doesn't work?
from ant-design.
@wanpan11 thanks for your quick answer. I don't understand though, are suggesting a potential solution, or just explaining why it doesn't work?
🤣🤣🤣🤣
Select the component and listen to the ESC event at the same time. When open=true, the pop-up window of the selected component will be closed first. In the demo, open is always equal to true, causing the ESC event to fail to bubble up to the Modal component and thus cannot be closed.
from ant-design.
I think this is not bug to fix. There would be some circumstances that pressing esc does other action except closing modal (like clearing inputs in focused input component)
from ant-design.
Related Issues (20)
- How do I reset all the table filters without re-rendering the whole table HOT 2
- onPopScroll function not working for TreeSelect HOT 1
- List item add hover color based of current algorithm HOT 2
- Option to have custom keys with values in token object HOT 1
- Inconsistency in border styling of disabled form controls HOT 3
- Transfer component has titles with word "select" for selection icon instead of "unselect" when all items have been already selected
- Avatar不要把全名都放上去 HOT 2
- Table-sticky设置与否会影响列宽 HOT 4
- Range Picker date select with showTime option is broken. HOT 1
- Down Arrow Icon in Top Navigation HOT 1
- nextjs page 路由模式,按需抽取支持 hashPriority="high" HOT 2
- Add Button and Select group HOT 3
- DatePicker弹窗显示位置通过一个参数来指定其总是完全显示在视口之内 HOT 2
- The Carousel Component will trigger the click event of the child element when the slide ends on the PC side.
- Time centering error
- table demo示例中远程加载数据,第一次会出现两次请求的bug HOT 3
- Form中,Checkbox.Group options支持虚拟列表 HOT 5
- Tabs do not work properly if the tab key contains a backslash HOT 1
- Paragraph copyable支持修改tabindex HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design.