Unverified Commit b46511dd authored by Yuhao's avatar Yuhao Committed by GitHub

fix: emoji-picker-z-index (#125)

Co-authored-by: 's avataryuhao1118 <yuhao1118@bytedance.net>
parent e8e8f9e9
...@@ -80,6 +80,7 @@ const EmojiPicker: FC<IEmojiPickerProps> = ({ ...@@ -80,6 +80,7 @@ const EmojiPicker: FC<IEmojiPickerProps> = ({
onClose={() => { }} onClose={() => { }}
isShow isShow
closable={false} closable={false}
wrapperClassName='!z-40'
className={cn(s.container, '!w-[362px] !p-0')} className={cn(s.container, '!w-[362px] !p-0')}
> >
<div className='flex flex-col items-center w-full p-3'> <div className='flex flex-col items-center w-full p-3'>
......
...@@ -26,7 +26,7 @@ export default function Modal({ ...@@ -26,7 +26,7 @@ export default function Modal({
}: IModal) { }: IModal) {
return ( return (
<Transition appear show={isShow} as={Fragment}> <Transition appear show={isShow} as={Fragment}>
<Dialog as="div" className="relative z-10" onClose={onClose}> <Dialog as="div" className={`relative z-10 ${wrapperClassName}`} onClose={onClose}>
<Transition.Child <Transition.Child
as={Fragment} as={Fragment}
enter="ease-out duration-300" enter="ease-out duration-300"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment