Skip to content

[Bug]: Tooltip is breaking words apart on line-breaks #390

Closed
@ftrjc

Description

@ftrjc

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When a tooltip string expands the length of the tooltip div, it auto-wraps the content to fit. However when breaking the lines, it is breaking apart the characters of the word, rather than breaking on the word itself.

Current Output:
image

Expected Behavior

Tooltip should break on complete words, not break on the intermediate characters of a word.

Correct Output:
image

Steps to reproduce

  1. Add a Text Input Control to your application.
  2. Add a long tooltip to the control.
  3. Hover over the control.

Environment

Lowcoder 2.0.1

Additional Information

No response

Metadata

Metadata

Labels

BugSomething isn't workingEnhancementNew feature or request

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions