Comments (3)
This unfortunately has never worked as you expect - we should probably reclassify this as a feature request or otherwise decide what to do with those functions.
from electron.
Hi @codebytere
Bug reports for this issue have been incorrectly closed multiple times (#41665, #33969, #23758).
Can you please take a look?
from electron.
@brondibur following up on this - it was never intended to work that way. It resizes the window bounds according to then content area, but it never resized content without affecting window bounds at all. You can use webContentsView
to do what you want.
from electron.
Related Issues (20)
- [Feature Request]: Does Electron have plans to support HarmonyOS
- [Bug]: Crash SIGSEGV at v8::internal::CppHeap::WriteBarrier(v8::internal::JSObject) HOT 4
- [Bug]: `alert`/`confirm` dialog from WebContentsView does not show message contents HOT 2
- [Feature Request]: Want to add custom settings for taskbar application preview
- [Bug]: notifications cannot pop up properly when the domain name is too long in windows HOT 3
- [Bug]: All electron application have frame thickness mismatch (small pixel borders around window title) under Linux with Wayland
- Is there anyone who have solved this issue ?
- [Bug]: notification-spec link is broken in the notifications.md file
- [Bug]: Electron .pkg throwing JS error when installed through TEST FLIGHT HOT 1
- [Bug]: Electron net.fetch can't handle non-ASCII characters in headers
- [Bug]: Windows 7 BrowserWindow setting transparent background is invalid HOT 1
- [Bug]: Electron not sending cookies with request HOT 3
- [Bug]: `WebviewTag.webpreferences` has wrong type
- [Bug]: GNU/Linux/Fedora/KDE: file selection dialog doesn't work HOT 3
- [Bug]: `showItemInFolder` opens up to parent directory when file at path does exist for Electron snap
- [Bug]: Custom Drag and Drop broken on Electron 28 and later
- [Bug]: BrowserWindow.setSize() does not size down when resizable=false HOT 2
- [Bug]: app not loading HOT 2
- [Bug]: backgroundThrottling does not work for BrowserView on MacOS HOT 3
- [Bug]: Electron 30 Menu in toolbar - font has changed from v29. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron.