In the source code for Dropdown component I noticed that delay before closing the overlday is hard coded (setTimeOut). I think this delay should be eliminated, because it feels like we use the form on some old unresponsive computers or the code is very slow. At least some global delay parameter should be supported to configure this.
https://github.com/primefaces/primevue/ ... opdown.vue
Code: Select all
onOptionSelect(event, option) {
let value = this.getOptionValue(option);
this.updateModel(event, value);
this.$refs.focusInput.focus();
setTimeout(() => {
this.hide();
}, 200);
},
Also transition CSS animations that occur when opening and closing overlays (dropdown options) slow down UI experience a bit, but at least they can be disabled by overriding some CSS, eg:
Code: Select all
.p-connected-overlay { transition: none!important; }