Skip to content

The rc-trigger cannot correctly calculate the offset value when the screen resolution is enlarged to 150% #384

@jwangyangls

Description

@jwangyangls

For example, there is a component wrapped in an rc-trigger located on the right edge of the browser, and the trigger point is located on the right edge. Clicking on the trigger point will display the content of the rc-trigger to the right of the trigger point. At this point, the screen will be enlarged to 150%, and the trigger point will still be on the right edge. Clicking on the trigger point will cause the content of the rc-trigger to pop up outside the screen (outside the right screen) instead of on the left.
After analysis, it was concluded that the rc-trigger did not calculate the magnification or reduction factor when calculating the edge width

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