[openstreetmap/openstreetmap-website] Show richtext tabs over secondary body background (PR #5043)

Anton Khorev notifications at github.com
Fri Aug 9 02:54:07 UTC 2024


> when you switch back from Preview to Edit mode, the textarea should be focused again.

With Github it happens on click (including pressing space/enter), not on switch. You can switch between tabs using left/right keys, focus shouldn't jump away if you do that.

> Ideally, the cursor would be set to the same location as before clicking on the preview tab.

That's the default browser behavior, focusing on a textarea already works that way.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5043#issuecomment-2277048057
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5043/c2277048057 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240808/bb69ebc0/attachment.htm>


More information about the rails-dev mailing list