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
{{ message }}
Repository navigation
[Feature Request]: Set border-radius for BrowserView. #33426
Is there any way to set border-radius (rounded corner) for BrowserView?
If not, I would be very happy to see it implemented.
Proposed Solution
I think it should be implemented in the constructor or instance method of BrowserView.
// in constructor
const view = new BrowserView({
borderRadius: 12,
});
// instance method
view.setBorderRadius(12);
Alternatives Considered
I have tried editing the HTML within webContents, but adding border-radius to <html /> does not work (children do not fit).
Additional Information
No response
Reacted by Maximo Cudich-Sieburger, Jordan, FoliageOwO, Tri Nguyen, RonkTsang, Treille Léonard, Robert Ferentz, Itay Dressler, Hovav Oppenheim, Abolfazl Nasiri Almas and 16 more
I really want this feature implemented!
(Does commenting on an issue make it so that the devs notice it again? because I'm pretty sure it does, and that's why I'm writing this comment now)
Reacted by Jordan Muir, Mateus Ito, GGIEnrike, alexi and Ivan Magky
Would love to have this feature + drop shadow. It's hard to see how this could be implemented in a more general styling framework, but these are the two power tools of modern design so adding support for them would be high impact.
Activity
jordancde commentedon Sep 22, 2022
Please can we have this 🙏
GGIEnrike commentedon Nov 20, 2022
I really want this feature implemented!
(Does commenting on an issue make it so that the devs notice it again? because I'm pretty sure it does, and that's why I'm writing this comment now)
tri2820 commentedon Feb 9, 2023
Hi team, can we have an update on this?
avayedawadi commentedon Oct 9, 2023
Any update on this?
GGIEnrike commentedon Oct 10, 2023
We should get this reconsidered by the devs
alexi commentedon Dec 20, 2023
Would love to have this feature + drop shadow. It's hard to see how this could be implemented in a more general styling framework, but these are the two power tools of modern design so adding support for them would be high impact.
jansenderr commentedon Jan 20, 2024
this would be an amazing feature. pls
arn4v commentedon Feb 27, 2024
+1, would like this as well
ivan-magky commentedon Mar 13, 2024
+1 from me. My current solution is to overwrite page css styles and apply border radius by css
ArcherGu commentedon May 22, 2024
This feature is so much needed! 😀
itsnwa commentedon Jun 20, 2024
Yes please!
augustdua commentedon Apr 8, 2025
Please give this feature!