When using ctrl + s
to save, whether the onChange
event is triggered again and the content displayed under the label
in the VSCodeOption
tag are related. We tested several different labels and the situations encountered were different.
#475
Labels
bug
Something isn't working
Type: Bug
Issue with VSCodeDropdown component in VS Code WebView plugin:
When using
ctrl + s
to save, whether theonChange
event is triggered again and the content displayed under thelabel
in theVSCodeOption
tag are related. We tested several different labels and the situations encountered were different.Situation one: Saving normally without triggering the
onChange
event.Situation two: Abnormal saving, triggering the
onChange
event and randomizing thevalue
.Code for situation one:
Code for situation two:
After pressing
ctrl + s
for the first time in the second situation, the value is changed to 2, which is quite strange.VS Code version: Code 1.76.0 (92da9481c0904c6adfe372c12da3b7748d74bdcb, 2023-03-01T10:22:44.506Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (21)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: