OnSizeUpdated not updating width
See original GitHub issueI’ve noticed you merged my PR! So I tried using the updated master.
First issue:
Is the npm package outdated? I tried installing and got a stale version of the code. So I went on and pulled directly from the repo.
Main issue:
Platform: Android (6.0.1)
Expected Behavior
used my fork to run this
log output of onSizeUpdated
Actual Behavior
used the master to run this
log output of onSizeUpdated
-> you can see the width does not change.
I’ll try looking in to it (Hope I have the time).
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
div width not updating on resize - html - Stack Overflow
In Chrome: the height of images and divs is changing properly, but width of .inner divs and images is not updated, which results...
Read more >View size is not updating in ViewWillAppear method in iOS 9.
I have an iOS app which support for. Orientation . Till iOS 8.4 it was giving us an correct view size (width and...
Read more >Re-render a React Component on Window Resize | Pluralsight
Now we have set up some internal state, dimensions , that has height and width properties. Inside handleResize , we no longer simply...
Read more >Window: resize event - Web APIs | MDN
The resize event fires when the document view (window) has been resized. This event is not cancelable and does not bubble.
Read more >QWidget Class | Qt Widgets 6.4.1
updatesEnabled : bool. This property holds whether updates are enabled. An updates enabled widget receives paint events and has a system background; a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for that! I didn’t realize that the body style was rejected from the PR. Changed it in my code (passed down a
customStyle
) and everything works perfectly.Many thanks!!
I will mention for others:
Fixing problems related to WIDTH size change:
customStyle
prop styling thebody
as follows:WebView
to overflow try wrapping yourhtml
with an element and styling that element withpadding
: