Open ritchiecarroll opened 8 years ago
Are you using primeelement or primeui autocomplete because both inside the dialog is working fine for me can you post me some example or fiddle please
Here is an example: http://jsfiddle.net/ritchiecarroll/n2732cf0/
Here is another z-index issue without a dialog: http://jsfiddle.net/ritchiecarroll/r0494mkh/
When an autocomplete element is in a pop-up dialog, the autocomplete panel will show below the dialog.
Fix thoughts: code could sum z-index of parent tree (costly), allow a custom z-index option for panel (might be good option to have regardless), or perhaps expose a before/after show event.
Work around with completeSource function:
After response.call() invocation, use this.panel.css("z-index", $("#myDialog").css("z-index") + 1);