solid-playground
solid-playground copied to clipboard
UX improvements for renaming tabs
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)