Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting hidden attribute on a context menu item does not apply on the first open #1010

Closed
chuckn0rris opened this issue Jun 25, 2020 · 1 comment
Labels
bug Something isn't working forum Issues from forum not reproducible wontfix This will not be worked on

Comments

@chuckn0rris
Copy link

Forum post

I'm seeing an issue where nothing in the context menus Add section can be hidden on the first time the menu is opened. After the first time it works as expected

Steps to reproduce:
Add this code

    features : {
        taskContextMenu : {
            processItems({ taskRecord, items }) {
              items.add.menu.items.addTaskAbove.hidden = true
            }
        }
    },

Open a context menu

It should hide addTaskAbove but you should see that the menu item is only hidden after the menu has been opened a second time. This was run in firefox on one of the demos if it makes a difference.

@chuckn0rris chuckn0rris added bug Something isn't working forum Issues from forum labels Jun 25, 2020
@isglass isglass added this to the Gantt 2.1.x milestone Jun 25, 2020
@matsbryntse matsbryntse modified the milestones: Gantt 2.1.x, Gantt 2.1.6 Jul 1, 2020
@matsbryntse matsbryntse modified the milestones: Gantt 2.1.6, Gantt 2.1.7 Jul 13, 2020
@matsbryntse matsbryntse modified the milestones: Gantt 2.1.7, Gantt 2.1.8 Jul 27, 2020
@isglass isglass modified the milestones: Gantt 2.1.8, Gantt 2.1.9 Aug 10, 2020
@isglass isglass modified the milestones: Gantt 2.1.9, Gantt 4.0.1 Aug 17, 2020
@isglass isglass modified the milestones: Gantt 4.0.1, Gantt 4.0.x Oct 20, 2020
@isglass isglass modified the milestones: Gantt 4.0.x, 4.0.x Nov 18, 2020
@SergeyMaltsev SergeyMaltsev modified the milestones: 4.0.x, 4.1.x Feb 18, 2021
@matsbryntse matsbryntse removed this from the 4.1.x milestone Jun 22, 2021
@chuckn0rris chuckn0rris added wontfix This will not be worked on not reproducible labels Mar 23, 2022
@chuckn0rris
Copy link
Author

Not reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum not reproducible wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants