You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, we make use of an event drilling mechanism to pass events from a ChakraComponent to it's underlying HTML derivative.
This is made possible through the super amazing events prop that is native to the Box component only. This system works but it's a bit cumbersome to maintain and events may or may not get registered. I've also had to introduce lots of fixes to ensure events don't get registered passively.
Describe the solution you'd like
Once sveltejs/svelte#4599 or sveltejs/svelte#8356 gets approved and merged, we should migrate to using it instead and deprecate the use:event action. However, this would be a bit difficult because it means svelte versions in which on:* is not supported would not work with the latest releases of chakra. So we should prolly have both maintained and prolly disable event forwarding for specific svelte versions 😉
Describe alternatives you've considered
No other alternatives
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, we make use of an event drilling mechanism to pass events from a
ChakraComponent
to it's underlying HTML derivative.This is made possible through the super amazing
events
prop that is native to the Box component only. This system works but it's a bit cumbersome to maintain and events may or may not get registered. I've also had to introduce lots of fixes to ensure events don't get registered passively.Describe the solution you'd like
Once sveltejs/svelte#4599 or sveltejs/svelte#8356 gets approved and merged, we should migrate to using it instead and deprecate the
use:event
action. However, this would be a bit difficult because it means svelte versions in whichon:*
is not supported would not work with the latest releases of chakra. So we should prolly have both maintained and prolly disable event forwarding for specific svelte versions 😉Describe alternatives you've considered
No other alternatives
The text was updated successfully, but these errors were encountered: