ui icon indicating copy to clipboard operation
ui copied to clipboard

Basket demo does not work fully

Open mkrecek234 opened this issue 3 years ago • 2 comments

  • Go to demo https://ui.agiletoolkit.org/demos/interactive/popup.php
  • Add some items in cart
  • Hover on cart, according to instruction a click on item should remove it, and also there is a checkout button
  • All clicks (remove item / checkout) won't do a thing

mkrecek234 avatar Sep 19 '22 15:09 mkrecek234

the problem is caused by https://github.com/atk4/ui/blob/a036f67947e285f90ff7b7e0e3fc37fa0c9e7acb/src/View.php#L133

before the data are set, the ID = 0, but then reindexed using the linked code and remove ID is send reindexed because of it

mvorisek avatar Sep 19 '22 18:09 mvorisek

see fix in https://github.com/atk4/ui/tree/fix_1862_cart_demo

there are still two issues I would like to be solved before merge:

a) add via "Browse" does not work, when an item is clicked, nothing happens (problem present since introduced in https://github.com/atk4/ui/pull/427) b) menus are displayed on hover, but when clicked the same time, they close - https://github.com/fomantic/Fomantic-UI/issues/2459

mvorisek avatar Sep 19 '22 18:09 mvorisek