[ModalManager] uses instance (arrow) functions which makes hard to extend #10527
Labels
component: modal
This is the name of the generic UI component, not the React module!
new feature
New feature or request
I was trying to extend the ModalManager class to add some additional functionality when
add
/remove
are called. This was a little difficult since the functions inside of ModalManager use instance (arrow) functions. Ideally I would love to do something like:But ended up having to do some monkey patching to get it to play nicely. Would you accept a PR to change to normal prototype methods instead of instance methods?
The text was updated successfully, but these errors were encountered: