metasfresh / metasfresh-webui-frontend-legacy

metasfresh Webui Frontend
GNU General Public License v2.0
57 stars 35 forks source link

Location dropdown and batch entry follow-up #1922

Open metas-lc opened 6 years ago

metas-lc commented 6 years ago

Is this a bug or feature request?

bug found while testing https://github.com/metasfresh/metasfresh-webui-frontend/issues/1672

What is the current behavior?

in a particular case, location is set in bpartner while you are using batch entry for product

Which are the steps to reproduce?

  1. have bpartner with 3 locations. loc1, loc2 and loc3
  2. select locations dropdown, make sure you are on loc3. open it again, hover the last one in the list, leave it open.
  3. press alt+q => dropdown is still selected
  4. add a product, press enter => in address, loc1 selected and added NOK http://recordit.co/diqir4eEh2

What is the expected or desired behavior?

dropdown shall close

siemiatj commented 6 years ago

So I've checked this already yesterday and it looks like we have to postpone it until we figure out how to communicate between separate components in the tree. I'm thinking of building some sort of widget manager that will control what's toggled/focused in the view.