samvera-labs / nurax-pre2023

Vanilla-plus Hyrax app for testing and tire-kicking
https://nurax-dev.curationexperts.com
Other
8 stars 18 forks source link

tab focus resets after changing locale #249

Open jmfrenzel opened 6 years ago

jmfrenzel commented 6 years ago

Descriptive summary

tab focus resets to default tab after changing locale

Rationale

Usability improvement

Expected behavior

having selected a tab, but not the first, most to the left one) e.g. https://nurax.curationexperts.com/admin/collection_types/57/edit?#participants should reload with that very tab in focus after having changed locale, e.g. German

Actual behavior

having selected a tab, but not the first, most to the left one) e.g. https://nurax.curationexperts.com/admin/collection_types/57/edit?#participants reloads with the default tab in focus after having changed locale

Steps to reproduce the behavior

  1. having selected a tab, but not the first, most to the left one) e.g. https://nurax.curationexperts.com/admin/collection_types/57/edit?locale=en#participants

  2. changing locale to German (de)

  3. page reloads in German, but with the first, tab most to the left one

Related work

Link to related tickets or prior related work here - especially link to Hyrax issues that are duplicates or related