microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
721 stars 594 forks source link

[Mac Safari] 'Add comment' display wrong when resize the box #5726

Open v-katherine opened 4 months ago

v-katherine commented 4 months ago

Describe the bug [Mac Safari] 'Add comment' display wrong when resize the box

Steps to reproduce the behavior 1.Navigate to Microsoft MakeCode for micro:bit (microbit.org) 2.Create or open a project. 3.Add comment and type something in comment box. 4.Resize the box and observe.

Actual behavior: 'Add comment' display wrong.

Expected behavior: 'Add comment' display normally even though resize the box.

Screen Recording: https://github.com/user-attachments/assets/9c7baadd-d646-4d4b-a42e-69a938c4b037

Additional context: 1.OS: Mac Ventura 13.6.7 2.Browsers: Safari 3.This bug only reproduced in Mac Safari browser, didn't reproduce in Chrome and Edge browsers. 4.makecode.microbit,org version: 7.0.13 5.Microsoft MakeCode version: 10.0.23

riknoll commented 3 months ago

this specific issue doesn't repro anymore with the updated comment rendering in beta, but now it's buggy in a different way:

safari-comment-bug

not sure what we can do here since this is obviously a browser bug

riknoll commented 2 months ago

i've filed this issue against blockly: https://github.com/google/blockly/issues/8555