Skip to content

Text background color can not be selected #2238

@kevburnsjr

Description

@kevburnsjr

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Text Background Color cannot be enabled.

To Reproduce

  1. Create any shape that contains text (ie. a Text element)
  2. Click the Text tab in the right sidebar
  3. Click the "Background Color" checkbox

Expected behavior

  • The "Background Color" checkbox is checked and the color selector is displayed.

Actual behavior

  • The "Background Color" checkbox is checked for only a fraction of a second.
  • The "Background Color" checkbox immediately unchecks itself and the color selector disappears.

Screenshots
Before clicking "Background Color" checkbox
example
After clicking "Background Color" checkbox
example

draw.io version:

  • 15.1.4

Desktop:

  • OS: Windows 10
  • Browser: Chrome 93.0.4577.63,
  • Browser: Edge 93.0.961.38,
  • Browser: Internet Explorer 19042.1165
  • Browser: Firefox 92.0 (64-bit)
  • Desktop App: 14.9.6

Smartphone:

  • Device: Android Galaxy S9
  • OS: Android Version 10 (QP1A.190711.020.G960U1UES9FUG2)
  • Browser: Chrome
  • Version: 93.0.4577.62

Additional context
It seems like 2 onclick event handlers are both toggling the checkbox at once.
This defect has been present for several weeks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions