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
When scrollbars are requested, setScrolling() sets the scrolling property to 'yes'. It would be nice to have the scrollbars added only when necessary. On browsers like Chrome, Safari and IE, 'yes' is treated the same as 'auto', so they're only added when necessary. Also, 'auto' is typically the default. In Opera though, they'll always be added. Ideally it would be possible to either tell iframe-resizer to set this to 'auto', have 'auto' as the default for scrolling rather than 'yes' or disable iframe-resizer's setting of the scrolling properties entirely.
The text was updated successfully, but these errors were encountered:
FrancisRussell
changed the title
Unable to set scolling property for iframes to 'auto'
Unable to set scrolling property for iframes to 'auto'
Feb 5, 2016
Hi, and sorry for not responding to the first comment - I've been a little overloaded. Given that most browsers treat "yes" the same as "auto" for the scrolling property, I'm inclined just to create a pull request for that change as you originally suggested, unless you think a more sophisticated option would be more useful.
When scrollbars are requested, setScrolling() sets the scrolling property to 'yes'. It would be nice to have the scrollbars added only when necessary. On browsers like Chrome, Safari and IE, 'yes' is treated the same as 'auto', so they're only added when necessary. Also, 'auto' is typically the default. In Opera though, they'll always be added. Ideally it would be possible to either tell iframe-resizer to set this to 'auto', have 'auto' as the default for scrolling rather than 'yes' or disable iframe-resizer's setting of the scrolling properties entirely.
The text was updated successfully, but these errors were encountered: