mattermost icon indicating copy to clipboard operation
mattermost copied to clipboard

[Bug]: time dropdown expands the form rather than displaying it on top of it

Open kenny-not-dead opened this issue 2 months ago • 13 comments

Before you file a bug report

Mattermost Server Version

10.0.0

Operating System

Ubuntu 22.04

Steps to reproduce

Type /remind, press enter, click on the time drop-down list.

Expected behavior

a drop-down list with possible values ​​appears on top of the window that appears

Observed behavior

The drop-down list with possible values ​​increases the height of this window, a scroll bar appears, initially only one option is visible

Image Image

Log Output


Additional Information

No response

kenny-not-dead avatar Nov 01 '25 16:11 kenny-not-dead

@kenny-not-dead Could you please assign this issue to me? I'd like to work on it.

Arohi-jd avatar Nov 11 '25 17:11 Arohi-jd

@Arohi-jd I'm not a member of mattermost, I don't have such rights, but you can probably make a pr if you have a solution

kenny-not-dead avatar Nov 11 '25 17:11 kenny-not-dead

@Arohi-jd Assigned to you 👍

amyblais avatar Nov 12 '25 07:11 amyblais

@amyblais I would like to work on this issue if its available

Aryakoste avatar Dec 02 '25 17:12 Aryakoste

@Aryakoste 👍

amyblais avatar Dec 02 '25 18:12 amyblais

@amyblais Can't replicate this i can't find this Schedule Reminder modal anywhere in code and the /remind doesn't work.

Aryakoste avatar Dec 02 '25 19:12 Aryakoste

@Aryakoste it works a little differently. Look for the container that wraps this plugin

kenny-not-dead avatar Dec 02 '25 19:12 kenny-not-dead

@kenny-not-dead which plugin is this ?

Aryakoste avatar Dec 02 '25 19:12 Aryakoste

@Aryakoste https://github.com/scottleedavis/mattermost-plugin-remind?tab=readme-ov-file

This is it, but in general, it's not a plugin issue, you'll get a similar problem with the drop-down list in other pop-up windows implemented in a similar way

To be more precise, there are modal windows, inside of which you can see a suggestion and the classes associated with it.

Image

The drop-down list itself is embedded in what is highlighted in the screenshot above, and when the drop-down list appears, you see .suggestion-list__content which obviously doesn't have the right set of styles,

Image Image

Fixing a few lines of writing in this class

kenny-not-dead avatar Dec 02 '25 20:12 kenny-not-dead

Alright thanks will look into it @kenny-not-dead

Aryakoste avatar Dec 02 '25 20:12 Aryakoste

@Aryakoste If you don't come up with a solution, let me know and I'll fix it

kenny-not-dead avatar Dec 02 '25 20:12 kenny-not-dead

Now i know what exact issue is, will be able to solve this. Will let you know if I get blocked at something. @kenny-not-dead

Aryakoste avatar Dec 02 '25 20:12 Aryakoste

Image

I downloaded the current version locally and loaded the plugin. For some reason, there's no problem now, although I don't see a difference between the styles that were on my version and on the dev...maybe this is subject to closure. Can someone confirm that this works for more than just me and that the problem is not relevant?

kenny-not-dead avatar Dec 04 '25 18:12 kenny-not-dead