Closed hamed-musallam closed 7 months ago
After migrating to react-science version 0.33 and replacing the old Modal component with the Dialog component from Blueprint.js, the color picker is now appearing behind the Dialog
@hamed-musallam @stropitek
This happens because of react-science
Portal blueprint js portal are diffrent
So we need to refactor any react-science
component that uses it.
I believe the color picker should use the Portal from Blueprintjs. As I can see, we have fully replaced the Modal with Dialog.
Yes I changed the ColorPicker here https://github.com/zakodium-oss/react-science/pull/641
https://react-science.pages.dev/stories/?path=/story/components-color-pickers--color-picker-dropdown-story
https://github.com/zakodium-oss/react-science/assets/35760236/444a83c8-5491-4e92-8920-0c56896ffebf