Skip to content
Snippets Groups Projects
Unverified Commit c53b3a5c authored by gabriellsh's avatar gabriellsh Committed by GitHub
Browse files

[FIX] Message menu dropdown not working on Mobile Web (#25616)

* Fix dropdown mobile

* use box props
parent fcb2c9fd
No related branches found
No related tags found
No related merge requests found
import { css } from '@rocket.chat/css-in-js';
import { Tile } from '@rocket.chat/fuselage';
import React, { forwardRef, ReactNode } from 'react';
import ScrollableContentWrapper from '../../../../../components/ScrollableContentWrapper';
const dropdownStyle = css`
z-index: 9999;
opacity: 1;
bottom: 0;
left: 0;
right: 0;
`;
export const ToolboxDropdownMobile = forwardRef<
HTMLElement,
{
......@@ -26,9 +17,13 @@ export const ToolboxDropdownMobile = forwardRef<
paddingBlock='x12'
paddingInline={0}
elevation='2'
mi='x12'
zIndex={9999}
ref={ref}
className={dropdownStyle}
maxHeight='50%'
insetBlockEnd={0}
insetInline={0}
opacity={1}
h='full'
{...rest}
>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment