stable

Clone or download

Read-only

fix: commonmark-popover won't open when WritingZone is toggled several times

part of story #32315 Add support of markdown How to reproduce: This behavior can be reproduced by toggling the reply form or the description edition form. 1. Either click on [Reply] to reply to an existing comment, or click [Edit] in the description's footer 2. Open the commonmark-popover 3. Close it 4. Click [Cancel] 5. Repeat steps 1 and 2 --> The popover won't open How to test: --> You can reopen the commonmark-popover when you toggle several times the forms. [Bonus] - Leave the popover open before canceling the comment - Toggle back the form --> The popover does not appear open anymore Change-Id: Ife8c24465f43ace7008673bd76e7cd8a8a705a23

Modified Files

Name
M lib/frontend/commonmark-popover/src/CommonmarkPopover.test.ts +6 −3 Go to diff View file
M lib/frontend/commonmark-popover/src/CommonmarkPopoverController.test.ts +6 −1 Go to diff View file
M lib/frontend/commonmark-popover/src/CommonmarkPopoverController.ts +8 −3 Go to diff View file