You need to sign in to do that
Don't have an account?
Jake Bullard
Hide Scroll Bar on iFrame in Lightning Components
Hey guys,
How can I hide the scroll bar in on and Iframe in a lightning cmp? Here is what Ive tried.
Cmp
How can I hide the scroll bar in on and Iframe in a lightning cmp? Here is what Ive tried.
Cmp
<aura:component access="global" implements="lightning:availableForFlowScreens"> <iframe src="{!v.iFrameURL}" height="{!v.iFrameheight+'px'}" width="{!v.iFramewidth+'px'} "frameborder="0" class="over"/> </aura:component>
CSS
.THIS.over { overflow-y: hidden; overflow-x: hidden; }
Greetings to you!
Please refer to the below links which might help you further with the above requirement.
https://stackoverflow.com/questions/10082155/remove-scrollbar-from-iframe
https://stackoverflow.com/questions/23206709/hide-scrollbar-in-iframe
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas