v1.60.6
Fix
Update click coordinate handling and improve cursor positioning in CardFullEditable
- Changed reference for storing click coordinates from clientX/clientY to contentX/contentY for better accuracy in cursor placement.
- Enhanced logic for setting cursor position when switching from view to edit mode, ensuring the cursor appears at the correct location based on user interaction.
- Adjusted scroll handling to maintain the correct viewport during editing, improving the overall user experience.
Feature
Enhance content overflow handling and edit mode visibility in CardFullEditable and MobileAdditional
- Added state management for content overflow detection and scroll position tracking in CardFullEditable, improving user experience when content exceeds viewable area.
- Implemented gradient overlays to indicate content overflow at the top and bottom of the editable area.
- Updated MobileAdditional to hide the component when in edit mode, ensuring a cleaner interface during content editing.
- Introduced new CSS styles for fade effects on overflowing content in both CardFullEditable and TiptapEditor.
