Proposition Feature: Can you add optional back button next to close ?
Closed this issue · 3 comments
I would like an optionnal button back action in RabbyKitActions or Hooks like close button, if it possible.
Thank
Hi, thank you for your suggestion!
Could you please provide more details?
If you're looking for a hook for closing the Kit modal, maybe you can use onModalClosed
or onModalClosedByManualOperation
.
rabbyKit.open({
onModalClosed() {
//code
},
onModalClosedByManualOperation() {
//code
},
})
I see sorry, I will add context to my case.
I use your modal after one other modal and my previous modal has 2 actions: go back and close.
With your modal I can use the close button for close but I dont have a go back button that could improve my UX
Thank you for your feedback and for sharing more details about your use case!
I understand the need for a "go back" button to enhance the user experience.
However, the current design of our Kit focuses on simplicity and alignment with most common use cases. While we won't be adding a "go back" button directly to the component at this time, you can consider customizing the modal in your implementation to fit your specific UX needs