I'm making an interactive floor plan using React-zoom-pan-pinch and, as some plan files are heavy, I'm trying to use React.lazy and React.suspense to improve the application's performance. Sadly, when I use those, my component doesn't get dragged when I click in the component, only when I click outside; also, the popover that I made that showed when I clicked in certain areas of the component is not showing anymore.
Has someone tried to do the same with this library or got any ideas to deal with it?