sticky-kit icon indicating copy to clipboard operation
sticky-kit copied to clipboard

stick to bottom

Open cmpscabral opened this issue 11 years ago • 6 comments

Is it possible to "stick" the element to the bottom of its parent? If yes, how? Thanks!

cmpscabral avatar Mar 05 '14 20:03 cmpscabral

:+1: doesn't found how to do this too

drakmail avatar Nov 15 '14 17:11 drakmail

:+1:

StanleyMlha avatar Jan 14 '15 15:01 StanleyMlha

+1

zoffixznet avatar Mar 06 '15 17:03 zoffixznet

The plugin adds a CSS class to the element when it becomes stuck ("is_stuck" by default). You can clear the top value and add bottom value in your stylesheet. e.g.

.is_stuck {
    top: auto !important;
    bottom: 0;
}

Djules avatar Apr 02 '15 08:04 Djules

I'm working on this too. I have made the following CSS change

.is_stuck { top: auto !important; bottom: 0; } However now the stuck element doesn't bottom out at the right position, it scrolls past the bottom of the parent until the top of the window passes the bottom of the parent.

My assumption is because the plugin thinks the stuck element is still in the position set by the plugin.

Any suggestions?

stephenmaguireland avatar Jun 17 '15 11:06 stephenmaguireland

+1

simondoescode avatar Jan 04 '18 11:01 simondoescode