Currently utilizing vue, bootstrap 4, and bootstrap-vue.
My main objective is to resolve a visual glitch that emerges when I interact with a button (refer to the animated screenshot provided). This issue is evident at the bottom of the table, where unwanted whitespace is present.
I suspect there is JavaScript involved in altering the table's appearance.
How can I locate the function responsible for triggering onMouseOver
when hovering over the "download" button?
https://i.sstatic.net/593iH.gif
UPDATE
Following suggestions, I attempted to replicate the problem using Firefox.
The issue appears to persist, albeit with slight variations as shown in the attached animated screenshot.
My intuition hints towards a potential hiccup within popper.js utilized by bootstrap for injecting elements into the DOM.
The creation of the "download" button was facilitated through bootstrap-vue, hence any additional components might be influencing this situation.
Meanwhile, my endeavor involves redeveloping the button using native bootstrap. Wishing myself luck!
https://i.sstatic.net/DUZCe.gif
Further Update
It appears that popper.js searches for the nearest parent element with the css property overflow: [something];
and calculates the dropdown positioning based on that. This method seems to cause discrepancies between browsers (Chrome vs Firefox) resulting in unnecessary scrollbars and empty spaces.
To rectify this, I opted to abandon the use of popper.js and implement a custom component instead. While not ideal, it serves its purpose for the time being.
Thank you all for your valuable input!