mattermost-plugin-github icon indicating copy to clipboard operation
mattermost-plugin-github copied to clipboard

Pop-over displays too low on on first attempt if there is not enough vertical space below the post

Open wiggin77 opened this issue 1 year ago • 1 comments

There is an issue where the GitHub pop-over shows too low and is unreadable if the post is too low in the thread and there is not enough vertical space to show it.

It seems on the 1st attempt, the pop-over will always display below the post. On the 2nd attempt it will correctly display upward as it does not fit below. This should always happen.

First pop-over attempt: jira_1

Second pop-over attempt: jira_2

Note: I (@DHaussermann ) am unsure if this can be fixed in GitHub or if it's a webapp issue.

Steps:

  • Open a channel in Mattermost

  • Make a post with a GitHub link ex: https://github.com/mattermost/mattermost-plugin-apps/pull/230

  • Hold your mouse pointer over the link Observed The pop-over is displayed downward and cannot be read.

See https://mattermost.atlassian.net/browse/MM-37643

wiggin77 avatar Aug 27 '24 18:08 wiggin77

@wiggin77 I don't think this can be fixed in the Github plugin as we are just registering a tooltip component in the plugin and the rest is handled by the MM webapp.

raghavaggarwal2308 avatar Aug 28 '24 04:08 raghavaggarwal2308