PhaserEditor2D-v3 icon indicating copy to clipboard operation
PhaserEditor2D-v3 copied to clipboard

User Component: Switch to other input works only on 2nd click

Open robinheidrich opened this issue 2 years ago • 1 comments

Version

  • Phaser Editor 2D Version: v3.33.1
  • Operating System: Windows 11
  • Web Browser and version: Google Chrome 101.0.4951.67

Description

If you edit the input of User Components and want to switch to another input, you have to click twice on it.

This happens only if the input has been edited, if it has not been edited, you can switch between inputs normally.

capture

robinheidrich avatar May 21 '22 22:05 robinheidrich

Yes, the HTML element of the fields is generated each time a value is changed. I should implement a cache of the UI elements.

PhaserEditor2D avatar May 23 '22 08:05 PhaserEditor2D

Fixed! Now it shows the user components and prefab properties in an individual Inspector view. The DOM elements are generated only once, and not every time an object is selected. Screenshot 4

PhaserEditor2D avatar Jun 23 '23 19:06 PhaserEditor2D