appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: More menu items exceed the canvas

Open shwetha-ramesh opened this issue 3 years ago • 19 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

In menu button widget when new Menu items are added in property pane the bottom border is not visible after the 5th new menu item

When more number of menu items are added the items move out of canvas image

https://loom.com/share/3398a3caca3a4b0d95cc4b07d0f846c3

Steps To Reproduce

  1. Drag and drop Menu button widget
  2. In property pane add new buttons

Environment

Production

Version

Cloud

shwetha-ramesh avatar Mar 07 '22 11:03 shwetha-ramesh

@sbalaji1192 can i get it?

tauantcamargo avatar Oct 07 '22 18:10 tauantcamargo

@sbalaji1192 can i work on this issue?

Naveen-Nair avatar Oct 08 '22 10:10 Naveen-Nair

Hey @sbalaji1192 , I would like to work on this issue.

beheradibas avatar Oct 09 '22 12:10 beheradibas

@tauantcamargo Thanks for showing interest. I'm assigning this issue to you. I would appreciate it if you could create a PR within two days. All the best!

@Naveen-Nair & @beheradibas As this is assigned, Please pick a different issue from our issues page. If this is your first time contributing to the repo, You can start with a Good first issue.

sbalaji1192 avatar Oct 10 '22 04:10 sbalaji1192

@sbalaji1192 assign it to @beheradibas no worries .. i can do it today :/

tauantcamargo avatar Oct 10 '22 16:10 tauantcamargo

@tauantcamargo Do you want me to reassign this issue?

sbalaji1192 avatar Oct 11 '22 04:10 sbalaji1192

@sbalaji1192 yeah yeah assign it to @beheradibas

tauantcamargo avatar Oct 11 '22 13:10 tauantcamargo

@Naveen-Nair Would you be still interested in working on this issue?

sbalaji1192 avatar Oct 12 '22 04:10 sbalaji1192

Yeah I'm still interested!

Naveen-Nair avatar Oct 12 '22 13:10 Naveen-Nair

Greetings @Naveen-Nair thanks for showing interest 🎉 , This is all your. Assigning this to you now.

Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days. let us know here

dilippitchika avatar Oct 13 '22 10:10 dilippitchika

Hey sorry, i'm a bit busy this weekend, so i don't think i'd be able to work on it

Naveen-Nair avatar Oct 13 '22 14:10 Naveen-Nair

Hi @dilippitchika, I have reproduced this issue and would like to work on this. Thanks.

secure-crypto avatar Oct 15 '22 10:10 secure-crypto

I am little confused as I tried adding menu buttons but they perfectly working. Can anyone clear me out? Screenshot 2022-10-16 4 53 50 PM

trishitapingolia avatar Oct 16 '22 11:10 trishitapingolia

Hi @trishitapingolia this issue is fixed now. Looks like the only issue pending is a missing scroll on the menu items inside the widget (image 2 in the issue description)

dilippitchika avatar Oct 17 '22 06:10 dilippitchika

Greetings @secure-crypto thanks for showing interest 🎉 , This is all yours. Assigning this to you now.

Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days. let us know here

dilippitchika avatar Oct 17 '22 06:10 dilippitchika

Hi @dilippitchika I investigated this and seems to me there will be a change in this file - https://github.com/appsmithorg/appsmith/blob/release/app/client/src/widgets/MenuButtonWidget/component/index.tsx. I am quite new to React so trying to understand what changes to make. Will update here on my progress.

secure-crypto avatar Oct 19 '22 16:10 secure-crypto

Thanks for checking @secure-crypto, @yaldram can you please help here on where the change needs to be?

dilippitchika avatar Oct 19 '22 16:10 dilippitchika

@secure-crypto On line 228 we can try giving a fixed height like height: 380px and overflow-y: scroll.

yaldram avatar Oct 20 '22 12:10 yaldram

@secure-crypto For this class .menu-button-popover, .bp3-minimal.menu-button-popover.bp3-popover2 disable overflow-y property on line 44, I think.

yaldram avatar Oct 20 '22 12:10 yaldram

@yaldram Thank you. I will try what you suggested.

secure-crypto avatar Oct 20 '22 18:10 secure-crypto

@secure-crypto are you still working on this issue? cc @yaldram

Rishabhkaul avatar Dec 24 '22 05:12 Rishabhkaul

@somangshu @dilippitchika is this issue is fixed ? If not than please assign me I would like to work on this issue.

MuhammadAakash avatar Jan 26 '23 15:01 MuhammadAakash

Greetings @MuhammadAakash, thanks for showing interest 🎉 , This is all your. Assigning this to you now.

Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days and request for the review here

Apologies for the late response here

somangshu avatar Feb 01 '23 09:02 somangshu

@somangshu I will start working on this issue in weekend, so maybe it will take more than 2 days.

MuhammadAakash avatar Feb 01 '23 13:02 MuhammadAakash

@somangshu Sorry for late, but Previously I was getting some errors during the setup, but now completed and I am working on it.

MuhammadAakash avatar Feb 12 '23 17:02 MuhammadAakash

@somangshu I have created the PR https://github.com/appsmithorg/appsmith/pull/20579. Please review it

MuhammadAakash avatar Feb 12 '23 19:02 MuhammadAakash