mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-21 19:24:09 -04:00
[web-src] Add threshold to observe visibility
Hopefully fixes the "show options button" in list views to always be correctly working after page load.
This commit is contained in:
parent
048b245155
commit
2cb1a1754b
@ -49,7 +49,8 @@ export default {
|
|||||||
observer_options: {
|
observer_options: {
|
||||||
callback: this.visibilityChanged,
|
callback: this.visibilityChanged,
|
||||||
intersection: {
|
intersection: {
|
||||||
rootMargin: '-100px'
|
rootMargin: '-100px',
|
||||||
|
threshold: 0.3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user