0

I have a lightning component that i want to call from visualforce page. Earlier i posted a question about that here. now I figured out how to make it work. But I ran into another problem when component dynamically loaded, it doesn't render properly. there is some white space. as shown in the image.

I'm using an iOS device and Salesforce1 app. I couldn't figure out what i'm doing wrong here. I really appreciate you taking your time to look at this. enter image description here

1

This was caused because i missed to add a reference to scope as mentioned in this trail head section.

I downloaded the SLDS from the tool provided by salesforce with the custom scope name and referenced this scope in the component. that fixed the problem.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.