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
The Link input in a paragraph doesn't accept input. Note, that a JS error that the open PR fixes ( #3398 ) is not the cause of this issue, although it does make it harder to debug.
Steps to Reproduce (for bugs)
Create a new paragraph
Create a link in that paragraph
Try and type
Expected Behavior
The characters are added to the input
Current Behavior
The characters disappear and the input stays either empty or with one character.
Note, that if you move the mouse left and right during typing, you can type into the input.
Possible Solution
We've looked into this a little bit. If the Slot in Editable is set to bubbleVirtually, then it doesn't happen, but we're not convinced that that is a good solution.
The text was updated successfully, but these errors were encountered:
It looks like the issue is based around how the manual slot fill works. We think that the slot isn't re-rendering because it's in a completely different part of the tree (toolbar). The fill render code is being called, but because we aren't bubbling virtually, then the render is returning null (and the slot is not re-rendering).
So this returns null AND doesn't tell the slot to update, so nothing changes. However, we can probably get the slot to update if we put the code in componentDidUpdate.
Issue Overview
The Link input in a paragraph doesn't accept input. Note, that a JS error that the open PR fixes ( #3398 ) is not the cause of this issue, although it does make it harder to debug.
Steps to Reproduce (for bugs)
Expected Behavior
The characters are added to the input
Current Behavior
The characters disappear and the input stays either empty or with one character.
Note, that if you move the mouse left and right during typing, you can type into the input.
Possible Solution
We've looked into this a little bit. If the
Slot
inEditable
is set tobubbleVirtually
, then it doesn't happen, but we're not convinced that that is a good solution.The text was updated successfully, but these errors were encountered: