You need to sign in to do that
Don't have an account?
![sandhya santhanagopalan sandhya santhanagopalan](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
unable to fix footer in salesforce1
hi all
any idea how to keep a <div> fixed in lightning?
slds-is-fixed/style="position:fixed works fine in chrome desktop version to fix my footer.but not working in salesforce1.any help wud be appreciated.Thanks in advance.
any idea how to keep a <div> fixed in lightning?
slds-is-fixed/style="position:fixed works fine in chrome desktop version to fix my footer.but not working in salesforce1.any help wud be appreciated.Thanks in advance.
Hi Sandhya,
Please check the below post that can answer your issue: https://salesforce.stackexchange.com/questions/123176/fixed-div-in-salesforce1-using-lightning-components
Hope this helps you!
Thanks,
Deepthi
.footer-to-be-fixed{
position: fixed;
bottom: 0;
transform: translate3d(0,0,0);
}
position: fixed;
bottom: 0;
transform: translate3d(0,0,0);
}
doesn't seem to work.
position:static !important;
bottom:0rem !important;
left:0rem !important;
right:0rem !important;
background-color: white !important;
width:100% !important;
transform:translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
display: block;
}
.reaminingDiv {
max-height : 90vh !important;
overflow :scroll;
}
Use fixDiv class for the component which you want to be fixed at the fotter and use remainDiv class for the reamining div you want to make that scrollable