Use react-select for page size dropdown#1568
Conversation
|
Use Run test server using develop.opencast.org as backend: Specify a different backend like stable.opencast.org: It may take a few seconds for the interface to spin up. |
|
This pull request is deployed at test.admin-interface.opencast.org/1568/2026-04-10_07-20-26/ . |
|
This pull request has conflicts ☹ |
We are currently using our own custom styled dropdown thingy for the page size selector. This patch instead uses "Select" from react-select for the page size selector. The goal is to get the accessibility features of using a proper select component "for free", instead of having to painstakingly code our own. Apart from that, the page size selector should work as before.
c66450d to
0400403
Compare
|
The border color of what specific part of the select are you referring to? They look fine to me. |
| height: 28, | ||
| width: 75, | ||
| borderRadius: 4, | ||
| borderColor: state.isFocused ? "#378dd4" : "hsl(0, 0%, 80%)", |
There was a problem hiding this comment.
"&:hover": {
borderColor: state.isFocused ? "#378dd4" : "hsl(0, 0%, 80%)",
},
Shouldn't it be like that?
But there is a box shadow with the wrong color, which is quite strange.


Originally #1530
Fixes #1215.
We are currently using our own custom styled dropdown thingy for the page size selector. This patch instead uses "Select" from react-select for the page size selector. The goal is to get the accessibility features of using a proper select component "for free", instead of having to painstakingly code our own. Apart from that, the page size selector should work as before.
How to test this
Can be tested as is. The page size selector is the element at the bottom right of the page.