Line breaks don't work on modebarbuttons
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
I’m creating a button on the modebarbuttons which is supposed to hold a small description of the graph (see image below).
I'm using the field name for that, as it shows up when the mouse is hovered. However, depending on the screen size, the description may be long. Is it possible to add a line break in that description? Both <br> and \n don’t seem to work. Is this intended?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the modebarbuttons implementation and trace how the name field becomes the hover description. Check the current browser behavior for <br> and newline values, then define completion as a supported line break appearing correctly in the button description at different screen sizes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100