hypothesis / client

The Hypothesis web-based annotation client.
Other
641 stars 197 forks source link

Resizing the sidebar in VitalSource freezes the app #4726

Open chrisshaw opened 2 years ago

chrisshaw commented 2 years ago

https://user-images.githubusercontent.com/2966918/186712220-665f333d-baae-4341-ac6a-844009d23178.mp4

robertknight commented 1 year ago

I was able to reproduce this in an EPUB book with Hypothesis v1.1144.0 in Chrome 109. After dragging the sidebar toggle handle, the div.sidebar-container element has a pointer-events: none inline style applied to it, which prevents interactions with the iframe. This style is applied by Sidebar._onPan in src/annotator/sidebar.js, so my guess is that the panstart event is being received but not the panend event.