On Thu, 8 Sep 2022 11:05:35 GMT, Tejesh R <[email protected]> wrote: >> In keyboard selection the state is actually not maintained. Then do you >> think it better to clear the selection and set selected files to null....? > > Clearing the selection and setting it to null also solves the problem though. > When we call clear selection, reset will happen and selectedFiles will be set.
As discussed on call its better to clear selection when we move between multi-selection enabled/disabled as captured in https://github.com/openjdk/jdk/pull/9996#discussion_r965791205 ------------- PR: https://git.openjdk.org/jdk/pull/9996
