Open hai4606626 opened 3 years ago
After the confirmation prompt is pop-up, you need to look at the text of the prompt box, but there is a possibility that the mouse is misunderstood, and the prompt is turned off, you want to click the cancellation and determination of the pop-up box. Box is closed. Click OK to close the bubble confirmation box asynchronous, such as submitting the form.
It can be an attribute or a series of methods, and there is such an example on the Ant Design of React.
@hai4606626 可以提供一下那个例子的链接吗
https://stackblitz.com/edit/ng-zorro-antd-ivy-cnbqni 我想要一种效果,就是弹出的气泡确认框的时候,点击页面的其他位置气泡确认框不消失,点击取消的时候框消失,点击确认的时候提交方法。现在一点击页面的其他位置气泡框就隐藏了。类似的功能 Ant Design - React上面有https://ant.design/components/popconfirm-cn/#components-popconfirm-demo-async
@ hai4606626可以提供一下那个例子的链接吗
What problem does this feature solve?
在弹出确认提示框后,需要一直看提示框的文字,但这时有可能鼠标误触页面别的位置,这时提示框就关闭了,想要除了点击弹出框上的取消和确定才让弹出框关闭。点击确定后异步关闭气泡确认框,例如提交表单。
What does the proposed API look like?
可以是一个属性,也可以一系列方法,Ant Design of React上面有这样的事例。