playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
161 stars 28 forks source link

Code Editor File Dropdown Bug #1065

Closed kpal81xd closed 2 weeks ago

kpal81xd commented 1 year ago

Description

Graphical bug when hovering over the File dropdown in the Code Editor. The red highlighted box below indicates the area for which the dropdown is unresponsive.

image

Steps to Reproduce

  1. Visit any valid Code Editor https://playcanvas.com/editor/code/{any_id}
  2. Hover over the File dropdown option
  3. The button is only clickable and the hover effect only shows in the lower and right portion of the option
willeastcott commented 1 year ago

Looks like it's the drag handle for the PCUI tree view:

image

willeastcott commented 1 year ago

If you try to drag a tree view item, the 'invisible' drag handle disappears from the top left corner.

willeastcott commented 1 year ago

I'm wondering if this should be created hidden: https://github.com/playcanvas/pcui/blob/main/src/components/TreeView/index.ts#L196

kpal81xd commented 1 year ago

Yes since the drag handle item will be hidden once the drag action has been completed already restoring the File dropdown to perform as intended.

willeastcott commented 2 weeks ago

This was fixed here: https://github.com/playcanvas/pcui/pull/364

Should be fixed once we've bumped the Editor to the latest version of PCUI.