Skip to content
Snippets Groups Projects
Commit e6121438 authored by Harumi Jang's avatar Harumi Jang
Browse files

Pass in strategy:fixed to computePosition fn

parent bdffc29e
No related branches found
Tags 8.x-1.3
No related merge requests found
......@@ -122,6 +122,7 @@
computePosition(hoverLink, flyoutList, {
placement: 'right',
strategy: 'fixed',
middleware: [
offset(6),
flip({padding: 16}),
......@@ -173,6 +174,7 @@
el.parentElement.addEventListener('mouseenter', () => {
computePosition(el.parentElement, el, {
placement: 'right',
strategy: 'fixed',
middleware: [
arrow({element: el}),
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment