Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in dropdown view leads to wrong position of dropdown when no optimal position is found #17220

Open
nilsfr opened this issue Oct 4, 2024 · 0 comments

Comments

@nilsfr
Copy link

nilsfr commented Oct 4, 2024

The line with the error is the following:

optimalPanelPosition ? optimalPanelPosition.name : this._panelPositions[ 0 ].name

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant