Topic: Mdb-select fails to open when clicking on page within 200ms before clicking the select
Jonathan De Badrihaye asked 6 years ago
function closeDropdown(select) { return (focus) => { if (focus === void 0) { focus = false; } var /** @type {?} */ container = select.el.nativeElement.lastElementChild.classList; select.renderer.removeStyle(select.el.nativeElement, 'z-index'); container.remove('fadeInSelect'); if (select.isOpen) { select.renderer.setStyle(select.selectionSpan.nativeElement.children[0].lastChild, 'visibility', 'hidden'); // tslint:disable-next-line:max-line-length select.renderer.setStyle(select.selectionSpan.nativeElement.children[0].children[select.selectionSpan.nativeElement.children[0].children.length - 2], 'visibility', 'visible'); select.clearFilterInput(); select.isOpen = false; if (focus) { select.focus(); } select.closed.emit(select); } }; }
Arkadiusz Idzikowski staff answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.2
- Device: Desktop
- Browser: Chrome Version 69.0.3497.8
- OS: Ubuntu 18.04.1 LTS
- Provided sample code: No
- Provided link: No