File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -456,11 +456,11 @@ function initializeDropDownItemSelectedListener() {
456456 oldIndex,
457457 newIndex
458458 } as SelectedIndexChangedEventData ) ;
459+
460+ // Seems if the user does not select an item the control reuses the views on the next open.
461+ // So it should be safe to clear the cache once the user selects an item (and not when the dropdown is closed)
462+ owner . _clearCache ( RealizedViewType . DropDownView ) ;
459463 }
460-
461- // Seems if the user does not select an item the control reuses the views on the next open.
462- // So it should be safe to clear the cache once the user selects an item (and not when the dropdown is closed)
463- owner . _clearCache ( RealizedViewType . DropDownView ) ;
464464 }
465465
466466 public onNothingSelected ( ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " nativescript-drop-down" ,
3- "version" : " 3.2.3 " ,
3+ "version" : " 3.2.4 " ,
44 "description" : " A NativeScript DropDown widget." ,
55 "main" : " drop-down" ,
66 "typings" : " drop-down.d.ts" ,
You can’t perform that action at this time.
0 commit comments