Comments (5)
This I expect is a problem with something on your SharePoint page set to always make the page 17px bigger than the displayed window. Normally this something set to be pinned to the footer with CSS or JS. I expect the problem is with the MasterPage of the child SharePoint page.
The stopInfiniteResizingOfIFrame() just resets the height on the body and html tags to 'auto' as changing this is the most common way for someone to create this problem.
Have you tried changing the heightCalculationMethod? As using a different html property to work out the height may help.
from iframe-resizer.
Yes, I tried all height calculation methods, only 'max' and 'bodyScroll' result in a resize, but both result in infinite scrolling.
I've forked iFrame-Resizer, maybe I will just check before resizing to make sure it is at least 20px bigger than last time before I do a resize.
Thoughts?
Brad
from iframe-resizer.
I expect that will sort of work, but think it's better to fix your CSS.
from iframe-resizer.
I don't disagree that the CSS might be (probably is) the problem, but it isn't mine to fix. It is pushed down by SharePoint (Office 365 online) and tweaking the CSS is beyond the scope of my allowed sandbox.
from iframe-resizer.
I expect you can get around the sandbox by tweaking CSS via JS.
Anyway best of luck with it and if you find any magic trick do let me know, so I can include it.
from iframe-resizer.
Related Issues (20)
- Scroll to element on AJAX request not working in child page even with scrolling set to yes HOT 1
- BREAKING🐞: `v4.3.9` release breaks usage of `.min.js` file from CDN HOT 5
- Scrolling may make the page jump to the left HOT 4
- [Feature Request] Add onResizeError callback HOT 4
- Value for minHeight can not be greater than maxHeight HOT 1
- Extra padding in Safari (macOS) 17.3 HOT 11
- Rounding up calculated height value to non-decimal number to prevent scrollbar from showing HOT 33
- Callback from IframeResizer does not get the latest state object HOT 2
- iFrame with dynamic blog posts nested in toggles not resizing in mobile phones. HOT 10
- Svelte HOT 3
- How to handle media queries? HOT 1
- Future roadmap
- Attempting to import latest parent script via CDN results in a 400 error HOT 4
- Vue Feedback
- License changed from MIT to GPL HOT 1
- Incorrect license in 4.4.x package.json HOT 4
- Some times page show as blank on IOS device (iPhone Safari Browser) if forum is embedded and scroll up and down and then stop. HOT 2
- Vue version, TypeError: Cannot destructure property 'title' of 'document.getElementById(...)' as it is null. HOT 4
- 5.1.2 bug - index.umd.js:20 Uncaught TypeError: Invalid value used in weak set HOT 6
- autoResize(true) fails to restart resizing HOT 2
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 iframe-resizer.