You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please fill out the below information as much as possible.
dash version: #2.16.1
dash-bootstrap-components version: #1.5.0
components affected by bug: textarea
What is happening?
I recently updated my libraries and went from DBC 1.2.0 to 1.5.0. I noticed that I could no longer use 'Enter' inside the textarea to change line, instead I had to use Shift+Enter. When I reverted back to the previous version the issue was fixed. This is also how the textarea responds in the BDC Documentation page.
What should be happening?
On 'Enter' the line should change, as this is the default behavior for a plain textarea.
The text was updated successfully, but these errors were encountered:
With hindsight, I agree that this doesn't seem quite right, I think the current behaviour was inspired by chat based apps where enter normally sends the message and shift enter allows you to add a new line. Unfortunately a quick search on GitHub suggests there are a number of people out there making use of this behaviour.
Therefore I propose the following, adding a new prop submit_on_enter which one can simply set to False to ensure that pressing Enter creates a new line.
I have implemented this and created a pre-release, feedback is welcome
Please fill out the below information as much as possible.
#2.16.1
#1.5.0
What is happening?
I recently updated my libraries and went from DBC 1.2.0 to 1.5.0. I noticed that I could no longer use 'Enter' inside the textarea to change line, instead I had to use Shift+Enter. When I reverted back to the previous version the issue was fixed. This is also how the textarea responds in the BDC Documentation page.
What should be happening?
On 'Enter' the line should change, as this is the default behavior for a plain textarea.
The text was updated successfully, but these errors were encountered: