mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-02 16:09:08 +02:00
Fix cannot edit times in week view
This commit is contained in:
parent
50f5710bd3
commit
5f563c6423
4 changed files with 7 additions and 3 deletions
|
@ -4,6 +4,7 @@ import clsx from "clsx";
|
|||
import * as React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import { usePopper } from "react-popper";
|
||||
import { stopPropagation } from "utils/stop-propagation";
|
||||
|
||||
export interface DropdownProps {
|
||||
trigger?: React.ReactNode;
|
||||
|
@ -53,6 +54,7 @@ const Dropdown: React.VoidFunctionComponent<DropdownProps> = ({
|
|||
style={styles.popper}
|
||||
{...attributes.popper}
|
||||
className="z-30 divide-gray-100 rounded-md bg-white p-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"
|
||||
onMouseDown={stopPropagation}
|
||||
>
|
||||
{children}
|
||||
</Menu.Items>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue