mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 05:20:13 +02:00
fix: correct propagation on settings menu (#1453)
* fix propagation error on settings menu
This commit is contained in:
@@ -407,6 +407,7 @@ export const PlayerConfig = () => {
|
||||
size: 'lg',
|
||||
}}
|
||||
size="sm"
|
||||
stopsPropagation
|
||||
tooltip={{
|
||||
label: t('common.setting_other', { postProcess: 'titleCase' }),
|
||||
openDelay: 0,
|
||||
|
||||
@@ -95,7 +95,10 @@ const AutoDJButton = () => {
|
||||
|
||||
return (
|
||||
<Button
|
||||
onClick={toggleAutoDJ}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
toggleAutoDJ();
|
||||
}}
|
||||
size="compact-xs"
|
||||
style={{ color: settings.enabled ? 'var(--theme-colors-primary)' : undefined }}
|
||||
uppercase
|
||||
|
||||
@@ -202,6 +202,7 @@ export const ListConfigTable = ({
|
||||
}) => {
|
||||
return (
|
||||
<Table
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
style={{ borderRadius: '1rem' }}
|
||||
styles={{ th: { backgroundColor: 'initial', padding: 'var(--theme-spacing-md) 0' } }}
|
||||
variant="vertical"
|
||||
|
||||
Reference in New Issue
Block a user