I wanted to fix a particular div to the bottom of the visible screen in Salesforce1 app using SLDS in Lightning. Some may find that this particular questions is a duplicate of this one.

They've implemented the same in their native functionalities (in Leads, Opportunities, Quotas, Accounts etc.) as shown below

enter image description here

I would like to implement the same with locker service enabled.

Earlier, I used to calculate required height by taking the whole window height and then subtracting it with the top headers height using JavaScript (I am not able to do access the top header now since the locker service has been enabled).

Your Answer

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

Browse other questions tagged or ask your own question.