poush / H2

Supporting light weight extensions for heavy task lifting
MIT License
16 stars 32 forks source link

Limit draggable region when docs are opened. #67

Open poush opened 5 years ago

poush commented 5 years ago

Currently, the whole body area of the app can be used to drag the H2. This is useful in the scenario of videos but for documents like Google docs or PDF files, it blocks the selection of text. Therefore, we should think of some way to make it work in documents case. I think the easiest way would be to limit the area of drag region in this specific case.