Fixed an issue where tooltip on a dropdown button is blocking access to dropdown menu. #8255

This commit is contained in:
Rohit Bhati 2025-01-01 10:31:48 +05:30 committed by GitHub
parent 700ecaef4a
commit 7a9a45b065
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -289,6 +289,7 @@ basicSettings = createTheme(basicSettings, {
MuiTooltip: { MuiTooltip: {
defaultProps: { defaultProps: {
arrow: true, arrow: true,
disableInteractive: true
}, },
styleOverrides: { styleOverrides: {
popper: { popper: {

View File

@ -128,7 +128,7 @@ export function StatusBar({eol, handleEndOfLineChange}) {
<Box className='StatusBar-padding StatusBar-mlAuto' style={{display:'flex'}}> <Box className='StatusBar-padding StatusBar-mlAuto' style={{display:'flex'}}>
<Box className="StatusBar-padding StatusBar-divider"> <Box className="StatusBar-padding StatusBar-divider">
<Tooltip title="Select EOL Sequence" disableInteractive enterDelay={2500}> <Tooltip title="Select EOL Sequence" enterDelay={2500}>
<span <span
onClick={toggleMenu} onClick={toggleMenu}
ref={eolMenuRef} ref={eolMenuRef}