Adding a "hide details" section used to auto-highlight text

When you add a “hide details” section from the composer gear menu, it used to highlight the contents so you could easily delete the placeholder text right away. It technically still does that, but immediately after the section gets added, the gear icon gets focused, so you can’t type in the editor right away. Then when you click back into the editor, the placeholder text is no longer highlighted. The same thing happens with the “blur spoilers” option.

6 Likes

Feels like a bug, perhaps we should assign on Monday @sam?

2 Likes

This was 100% legit and select-kit related so I fixed it.

It’s generally a good behaviour to reselect the dropdown after change, but not in the case of a menu which is appending text to a textarea.

7 Likes