box-ui-elements icon indicating copy to clipboard operation
box-ui-elements copied to clipboard

Folder deselection on navigate in ContentPicker

Open chantellelee opened this issue 4 years ago • 0 comments

  • Elements version: 12.0.0

Desktop (please complete the following information):

  • OS: Windows 010
  • Browser : Chrome, Edge, Firefox, IE

Steps to reproduce the problem:

What is the expected behavior? (Screenshots can be helpful here) I am not 100% sure what the intended behaviour originally was but here are a few options:

  • If user picks a folder, they can no longer navigate into it OR,
  • if user picks a folder, it remains selected in the UI even after navigating inside

What went wrong? (Screenshots, console logs, or HAR files can be helpful here)

  • If a user picks a folder and navigates inside, it is deselected in the list but is still an item in the event array when the select "choose" event

Link to application or sample code: Can replicate this using the codepen samples and changing the picker to ContentPicker https://codepen.io/chantellelee/pen/bGBwpdr

If relevant, link to file (or attach file here) boxpickerissue

chantellelee avatar Feb 09 '21 20:02 chantellelee