Dialog box message not copiable if contains \n character
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
Thank you so much for helping improve the quality of Dash!
We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.
Describe your context
Usign Dash for a Jira REST API Client, need to have a dynamic confirmDialog
- replace the result of
pip list | grep dashbelow
dash 1.19.0
dash-core-components 1.15.0
dash-html-components 1.1.2
dash-renderer 1.9.0
dash-table 4.11.2
-
if frontend related, tell us your Browser, Version and OS
- OS: ubuntu18.04
- Browser chrome
- Version 89
Describe the bug
When setting message value of dcc.ConfirmDialog if a \n character is present the message text can't be copied, works if no \n is present
Expected behavior
We wanted to have a list of issue keys in the dialog box to be copied, but the text can't be copied if it has a \n character in it
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 dcc.ConfirmDialog component and reproduce the issue with a message containing a newline in Chrome on Ubuntu. Check how the dialog renders and exposes its text, then verify that a list of issue keys can be selected and copied when the message includes newline characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100