You need to sign in to do that
Don't have an account?
ghostdev
Canvas app is not scrollable on Salesforce1 mobile
Greetings,
i embedden a canvas app in a visualforce page. This visualforce page is also on mobile nav (Salesforce1), but the canvas is not scrollable (yes on desktop visualforce classic) and no scrollbars appear.
Is there an easy way to make a canvas scrollable ?
Thank you.
i embedden a canvas app in a visualforce page. This visualforce page is also on mobile nav (Salesforce1), but the canvas is not scrollable (yes on desktop visualforce classic) and no scrollbars appear.
Is there an easy way to make a canvas scrollable ?
Thank you.
It seams that when the page is rendered for the Salesforce1 app, there is some code or HTML that is still generated for the header for a standard desktop browser. WYou can try by setting "showHeader" attribute on the tag to be false. After setting it to false.
If you are using lightning component then it seems a known issue -
https://success.salesforce.com/issues_view?id=a1p30000000ePVNAA2&title=salesforce1-unable-to-scroll-lightning-components-horizontally-when-using-lightning-design-system
Make sure <apex:canvas/> must be inside <iframe/>
LDS: https://www.lightningdesignsystem.com/components/utilities/scrollable/
I tried
- using slds-scrollable class on the div: no changes
- showHeader=false: no changes
- remove the head tag: no changes
- include canvas inside an iframe block: canvas not loaded
Here is my VF page code:On Desktop, everything works fine.
On iPAD app (Salesforce1) everything works fine -- except the scroll of the canvas.
I do not understand if it's a unresolved problem or if i'm doing something wrong.
Thank You
Did you get any solution for this ?