magicui icon indicating copy to clipboard operation
magicui copied to clipboard

[bug]: text highlighter was drawn multiple times when color change

Open HM-Suiji opened this issue 2 months ago • 0 comments

Describe the bug

When I change my theme, I also change my highlighter color too. But when the color is changed, the prevent hightlighter don't remove, and new hightlighter is drawn.

Affected component/components

Text Highlighter

How to reproduce

  1. use Text Highlighter
  2. change the color
  3. you will get the trouble

Codesandbox/StackBlitz link

No response

Logs


System Info

all

Before submitting

  • [x] I've made research efforts and searched the documentation
  • [x] I've searched for existing issues

HM-Suiji avatar Nov 08 '25 15:11 HM-Suiji