plane/packages
M. Palanikannan 75b8e3350a
🐛 fix: Hide drag handle when cursor leaves the editor container (#3401)
This fix adds support for hiding the drag handle when the cursor leaves the editor container. It improves the user experience by providing a cleaner interface and removing unnecessary visual elements especially while scrolling.

- Add `hideDragHandle` prop to `EditorContainer` component in `editor-container.tsx`.
- Implement `onMouseLeave` event handler in `EditorContainer` to invoke `hideDragHandle` function.
- Update `DragAndDrop` extension in `drag-drop.tsx` to accept a `setHideDragHandle` function as an optional parameter.
- Pass the `setHideDragHandle` function from `RichTextEditor` component to `DragAndDrop` extension in `RichTextEditorExtensions` function in `index.tsx`.
- Set `hideDragHandleOnMouseLeave` state in `RichTextEditor` component to store the `hideDragHandlerFromDragDrop` function.
- Create `setHideDragHandleFunction` callback function in `RichTextEditor` to update the `hideDragHandleOnMouseLeave` state.
- Pass `hideDragHandleOnMouseLeave` as `hideDragHandle` prop to `EditorContainer` component in `RichTextEditor`.
2024-01-18 12:43:43 +05:30
..
editor 🐛 fix: Hide drag handle when cursor leaves the editor container (#3401) 2024-01-18 12:43:43 +05:30
eslint-config-custom chore: format all files in monorepo (#3054) 2023-12-10 15:48:10 +05:30
tailwind-config-custom chore: release version update 2023-12-08 16:34:15 +05:30
tsconfig chore: release version update 2023-12-08 16:34:15 +05:30
types dev: workspace active cycles (#3378) 2024-01-16 19:54:32 +05:30
ui fix: create more toggle fixes in create issue modal (#3355) 2024-01-11 21:01:05 +05:30