Replies: 4 comments 1 reply
-
Same idea as https://juejin.cn/post/7265833406226251812 |
Beta Was this translation helpful? Give feedback.
-
One of reason I don't prefer <Popover>
<button>trigger is here!<button>
</Popover> |
Beta Was this translation helpful? Give feedback.
-
antd positioning is an atomic component library. API will be expanded when the functional requirement cannot be satisfied with HOC. You can use ProComponent which has the prop. |
Beta Was this translation helpful? Give feedback.
-
Sounds like bad news, no plans for trigger support for now! |
Beta Was this translation helpful? Give feedback.
-
What problem does this feature solve?
I hope to provide a props called "trigger" for Modal, similar to ModalForm in procomponent.
Because modal components are read-only in daily work, I don't want to maintain these redundant state, and I hope these jsx codes can be aggregated together to facilitate daily maintenance.
In most scenarios, I think Modal components should have the same experience as Tooltip components.
What is expected?
What is actually happening?
Beta Was this translation helpful? Give feedback.
All reactions