Use vscode1.91.0 for extension development and load the webview implemented by vue. Inline style does not take effect. #221461
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
Type: Bug
I have a bug for vscode extension developers that needs to be fixed. When I was developing the vscode extension, when loading html through vscode's webview, the scrollbar style Settings on my web pages did not work after version 1.90.0, but the style of loading pages under version 1.8* did work.Thank you so much for your time.
1.Write a page with a scroll bar via vue or html, and set styles for this web page:
2. Create a extension project and use the webview component to load the web page;
3. After packaging, launch the extension in vscode1.8* and 1.9* versions respectively. In the webview loading page, the vscode1.8* version is valid, but the vscode version after 1.90.0 is not valid.
This is a screenshot of the plugin launch in version 1.8*, the style Settings of scoller bar are in effect:

This is a screenshot of the plugin launch in version 1.9*, the style Settings of scoller bar are not in effect:

VS Code version: Code 1.91.0 (ea1445c, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (20)
A/B Experiments
The text was updated successfully, but these errors were encountered: