Open nilsfr opened 4 weeks ago
Hi! Thanks for reporting, could you provide some screens that will help us to better understand the issue.
I tried to fix #17225 by setting viewportTopOffset
on StickyPanelView to a high number to avoid the panel becoming sticky. The result of this was that optimalPanelPosition
was not found and the fallback this._panelPositions[ 0 ].name
was used. But as this fallback gave the name of the function southEast
and not the name of the name of the position se
the classname on the dropdown was wrong, leading to the wrong position of the dropdown.
I found another solution to this so I do not have a screenshot of this, but the code here is wrong as it give the name of the function and not the name of the position.
The line with the error is the following:
The problem here is that
this.panelPositions[0]
returns a callable. Here you get the name of the callable, not the name of the position.The values returned by
_panelPositions
is defined i defaultPanelPositions.