We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad13dbf commit 6dcfefcCopy full SHA for 6dcfefc
packages/collapse/src/index.js
@@ -56,7 +56,7 @@ export default function (Alpine) {
56
start: { height: current+'px' },
57
end: { height: full+'px' },
58
}, () => el._x_isShown = true, () => {
59
- if (el.getBoundingClientRect().height == full) {
+ if (Math.abs(el.getBoundingClientRect().height - full) < 1) {
60
el.style.overflow = null
61
}
62
})
0 commit comments