Closed markusdlugi closed 2 years ago
On some mobile devices that have a very wide aspect ratio, the slider will never be visible for the last image even if users scroll down entirely. Fixed it by changing checkPosition() to calculate visibility using getBoundingClientRect().
checkPosition()
getBoundingClientRect()
Thanks for solving this!
On some mobile devices that have a very wide aspect ratio, the slider will never be visible for the last image even if users scroll down entirely. Fixed it by changing
checkPosition()
to calculate visibility usinggetBoundingClientRect()
.