mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-11 23:52:00 +00:00
🐛(frontend) keep the admin panel in place when changing a setting
React Aria renders the radio and switch inputs visually hidden and absolutely positioned. Their labels were not positioned, so in the side panel the inputs were anchored to the aside and did not scroll with its content. Focusing one made Chrome scroll the aside, which has no scrollbar, hiding the panel content. Position the labels so each hidden input stays inside its control.
This commit is contained in:
committed by
aleb_the_flash
parent
86d97b427c
commit
531774fbda
@@ -28,6 +28,7 @@ and this project adheres to
|
||||
- 🔒️(backend) sign lobby participant id
|
||||
- 🐛(frontend) omit the default speaker id sent to LiveKit
|
||||
- 🐛(frontend) play the speaker test when no output is picked
|
||||
- 🐛(frontend) keep the admin panel in place when changing a setting #1804
|
||||
|
||||
## [1.34.0] - 2026-10-07
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ import { type StyledVariantProps } from '@/styled-system/types'
|
||||
const StyledRadio = styled(RACRadio, {
|
||||
base: {
|
||||
display: 'flex',
|
||||
// anchor the visually hidden input, so it scrolls with the radio
|
||||
position: 'relative',
|
||||
alignItems: 'center',
|
||||
gap: 0.375,
|
||||
forcedColorAdjust: 'none',
|
||||
|
||||
@@ -9,6 +9,8 @@ import { RiCheckLine, RiCloseFill } from '@remixicon/react'
|
||||
const StyledSwitch = styled(RACSwitch, {
|
||||
base: {
|
||||
display: 'flex',
|
||||
// anchor the visually hidden input, so it scrolls with the switch
|
||||
position: 'relative',
|
||||
alignItems: 'center',
|
||||
gap: '0.571rem',
|
||||
color: 'black',
|
||||
|
||||
Reference in New Issue
Block a user