Neon icon indicating copy to clipboard operation
Neon copied to clipboard

Selection of bounding box disappears after hover over text

Open jinh0 opened this issue 3 years ago • 3 comments

If you selected a bounding box on a folio and then hovered over the text area (on the sidebar) corresponding to that bounding box, the selection color (red) disappears.

This is probably because the logic for hovering over the text area does not consider an already selected bounding box.

https://user-images.githubusercontent.com/40512164/169064130-c9ef2e03-736e-4ee3-8a53-8e225fe47223.mov

jinh0 avatar May 18 '22 14:05 jinh0

Minor fix still needed:

After selecting the bbox, when click on another bbox's text, the latter bbox is selected, but not highlighted in red.

image

yinanazhou avatar Jun 02 '22 02:06 yinanazhou

Hi @JoyfulGen, I've pushed the changes for the minor issue.

yinanazhou avatar Jul 05 '22 04:07 yinanazhou

Hi @jinh0 and @yinanazhou, the changes work! I've found another small related issue though: Normally, when you select a bounding box, its corresponding syllable in the text box becomes highlighted. However, if the "Text" checkbox isn't checked at first and I select a bounding box and then check the "Text" box, the bounding box I selected stays highlighted, but its corresponding syllable doesn't highlight at all.

https://user-images.githubusercontent.com/83373378/177325363-3cf57c64-b00c-4f3d-881e-512eaf632cb6.mov

JoyfulGen avatar Jul 05 '22 12:07 JoyfulGen