Browse Source

Fix issue where absolutely positioned bound bottom/top didnt get width fixed

pull/7005/head
Jack 4 years ago
parent
commit
626fee571f
1 changed files with 6 additions and 0 deletions
  1. 6
      src/definitions/modules/sticky.js

6
src/definitions/modules/sticky.js

@ -580,6 +580,9 @@ $.fn.sticky = function(parameters) {
bindTop: function() {
module.debug('Binding element to top of parent container');
module.remove.offset();
if(settings.setSize) {
module.set.size();
}
$module
.css({
left : '',
@ -597,6 +600,9 @@ $.fn.sticky = function(parameters) {
bindBottom: function() {
module.debug('Binding element to bottom of parent container');
module.remove.offset();
if(settings.setSize) {
module.set.size();
}
$module
.css({
left : '',

Loading…
Cancel
Save