facebook / facebook/lexical

Bug: Not able to use ColorPicker inside FloatingToolbar

Open
#5,883 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
57

Description

# Reproduce Step
- Using Floating Toolbar
- Inside Floating toolbar using Font Color Format example from @lexical/playground
- While using Color Picker, I am not able to move the cursor
- While clicking anywhere inside input or on blank area of ColorPicker, its closing the entier FloatingToolbar
- Clicking on fixed provided colored button works fine

[Screencast from 13-04-24 05:15:40 PM IST.webm](https://github.com/facebook/lexical/assets/32410360/d4a2aa8b-4b1b-406e-814d-4506263b81bd)

# Help needed
- The Toolbar shouldn't be closing when clicking on Input inside ColorPicker, or even clicking the blank area inside the ColorPicker
- The cursor should be draggable

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.