Skip to content

Tooltips/popovers get cut off if there is not enough room #3429

Closed
matrix-org/matrix-react-sdk
#1952
@turt2live

Description

@turt2live

Description

This is probably not very high on the fix it list, but here we go:

Tooltips/popovers get cut off instead of switching sides. This is best revealed when using Riot on a portrait monitor (1200x1920) and the right sidebar collapsed. If the right sidebar is not collapsed, the popover appears normally (see screenshots).

Steps to reproduce

  • Have an unconventional shape of screen such that the right edge of the message is the edge of your browser
  • Open a popover next to the message (context menu)
  • Note that it is cut off on the right edge

I would have expected it to flip to the other side, instead of overflowing. Granted, this is affecting a very limited number of people (me).

Log: not sent

image

Note: GitHub does not show the white bar on the right of the image - this is the boundary between Chrome and my other monitor

Version information

  • Platform: web (in-browser)
  • Browser: Chrome 56
  • OS: Windows 10
  • URL: riot.im/develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2S-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-Chronic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions