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
I am using this library in react with canvas. I need to update canvas width when resizing windows using this package.
But it provides on resize start and resize finish methods. Is there any way to get data while resizing window?
The text was updated successfully, but these errors were encountered:
Hey @faizan170, this functionality isn't supported. It's on purpose so the resizing can stay fast and responsive and without any additional JS calls. The idea was that CSS should handle the resizing so there wouldn't be a need for any custom JS manipulation.
I haven't worked with canvas but I guess the CSS route isn't possible there?
Yes, we need to method to rerender points on canvas while resizing. So for this we need to make it real time to use that method. I tried some other options like checking width of modified elments while resizing but splitter start causing issues.
I see. I don't really have a working solution or a hack right now, unfortunately. I need to think about this once I have some allocated time for this project.
I can't right away tell you whether it would be a worthy trade off given the goal of Splitter being as little JS powered as possible.
I am using this library in react with canvas. I need to update canvas width when resizing windows using this package.
But it provides on resize start and resize finish methods. Is there any way to get data while resizing window?
The text was updated successfully, but these errors were encountered: