primeng icon indicating copy to clipboard operation
primeng copied to clipboard

SplitButton & TieredMenu - double click on item reloads the page

Open aurelianv opened this issue 8 years ago • 9 comments

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]

aurelianv avatar Nov 05 '18 16:11 aurelianv

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 "/#/"

shogogan avatar Feb 06 '19 14:02 shogogan

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

tiagodws avatar Feb 06 '19 17:02 tiagodws

+1

francovegini avatar Feb 06 '19 17:02 francovegini

+1

elizeugba avatar Feb 06 '19 18:02 elizeugba

+1

sidneibiz avatar Feb 06 '19 18:02 sidneibiz

+1

brenonaraujo avatar Feb 06 '19 18:02 brenonaraujo

+1

falexandre avatar Feb 06 '19 18:02 falexandre

+1

philipstefan avatar Feb 07 '19 18:02 philipstefan

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

What happened @yigitfindikli?

shogogan avatar Feb 12 '19 12:02 shogogan