solid-playground icon indicating copy to clipboard operation
solid-playground copied to clipboard

UX improvements for renaming tabs

Open JorrenH opened this issue 2 years ago • 0 comments

I noticed some issues when renaming tabs in the playground. This PR implements/resolves the following:

  • Add 'Esc' as a button which stops editing tabname
  • Revert tabname when submitted as empty string
  • Store tabRefs by index, as names can change
  • Fix: focus sometimes not applied after doubleclick
  • Fix: cursor not active on doubleclick/focus (Firefox)

JorrenH avatar Jan 15 '23 11:01 JorrenH