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

SplitButton & TieredMenu - double click on item reloads the page #6822

Closed
aurelianv opened this issue Nov 5, 2018 · 9 comments
Closed

SplitButton & TieredMenu - double click on item reloads the page #6822

aurelianv opened this issue Nov 5, 2018 · 9 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@aurelianv
Copy link

Current behavior
Double click any of the splitbutton's items, it will reload the page.

Expected behavior
On both disabled and enabled items the double click should not trigger the refresh of the entire page.

Minimal reproduction of the problem with instructions
https://www.primefaces.org/primeng/#/splitbutton
Double click any of the splitbutton's items, it will reload the page.

What is the motivation / use case for changing the behavior?
SplitButton - double click on item reloads the page, for both enabled and disabled items.

Please tell us about your environment:
Win64

  • Angular version: 6.1.0

  • PrimeNG version: 6.1.5

  • Browser: [all]

  • Language: [all]

@shogogan
Copy link

shogogan commented Feb 6, 2019

Not only on Splitbutton, but on Tiered menu.
It doesn't just reloads the page, it sends the page back to the root of the application "/#/"

@tiagodws
Copy link

tiagodws commented Feb 6, 2019

@cagataycivici Could you take a look, please? :)

@francovegini
Copy link

+1

5 similar comments
@elizeugba
Copy link

+1

@sidneibiz
Copy link

+1

@brenonaraujo
Copy link

+1

@falexandre
Copy link

+1

@philipstefan
Copy link

+1

@cagataycivici cagataycivici added this to the 7.1.0 milestone Feb 12, 2019
@yigitfindikli yigitfindikli changed the title SplitButton - double click on item reloads the page SplitButton & TieredMenu - double click on item reloads the page Feb 12, 2019
@shogogan
Copy link

shogogan commented Feb 12, 2019

Hmm, interesting, i opened a pull request with the solution, and it was completelly ignored.

What happened @yigitfindikli?

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Feb 28, 2019
cagataycivici added a commit that referenced this issue Feb 28, 2019
darkhelmet pushed a commit to weknowtraining/primeng that referenced this issue Mar 25, 2019
darkhelmet pushed a commit to weknowtraining/primeng that referenced this issue Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests