# Combo box doesn't always repaint fully on a mouseExit

**URL:** <https://forum.juce.com/t/combo-box-doesnt-always-repaint-fully-on-a-mouseexit/59400>\
**Category:** General JUCE discussion\
**Created:** [January 5, 2024, 2:20pm UTC](https://forum.juce.com/t/combo-box-doesnt-always-repaint-fully-on-a-mouseexit/59400 "2024-01-05T14:20:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoshCooke21](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@JoshCooke21](https://forum.juce.com/u/JoshCooke21)\
**Post date:** [January 5, 2024, 2:20pm UTC](https://forum.juce.com/t/combo-box-doesnt-always-repaint-fully-on-a-mouseexit/59400/1 "2024-01-05T14:20:53Z")

</div>

I’m using a custom LookAndFeel to draw my combo boxes with a highlight when the user hovers over them (using `box.isMouseOver(true)` to include the child Label).  
It works most of the time, but occasionally will only repaint within the bounds of the label, leaving a “border” around the combo box.

![combo box repaint](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/b/b/bb2f69740374f9c022628cc33eb42becc94d1b26.gif)  
I’ve uploaded a gif that shows this.

I’ve already switched the `repaintOnMouseActivity` flag to true and that hasn’t fixed it.  
Is there anything I can do to force it to repaint, or is this a bug with the component repainting?
