Skip to content

Misposition of HoverMenu in Firefox mobile view. #158

@Norlandz

Description

@Norlandz

Im using the cascading-hover-menus in my project.
(ie, this one: https://jcoreio.github.io/material-ui-popup-state/#cascading-hover-menus)

It works, until I try it in Firefox mobile.
The popup position is wrong.
It seems all HoverMenu are placed to the left no matter where my menu buttons are located at.

PS:
It seems like the popup is generated by computing the left and top position.
Instead of using relative absolute position.


It feels like its some how calculating basing on the width of the device?
If I rotate the device orientation, some menu dropdown position are fine.
But if the menu button is too far right, the menu dropdown position cant go any further to the right, and all positioned fixed to a point it can go any further.


Tested on v5.3.3 v5.3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions