I have a data field with date picker and if this one opens it underlays entity autocomplete's. I verified this with Garland and it does not happen there. So it need to be a bootstap bug.

CommentFileSizeAuthor
2017-04-17_013643.png11.99 KBhass
2017-04-17_013541.png9.46 KBhass

Comments

hass created an issue. See original summary.

markhalliwell’s picture

Category: Bug report » Support request
Status: Active » Closed (won't fix)

Create a sub-theme and modify the z-index for the appropriate elements.

hass’s picture

Do you know what is causing these dynamic override? The date module defines a correct index, but the z-index get's randomly overriden by an unknown function.

markhalliwell’s picture

Do you know what is causing these dynamic override?

The fact that you're using completely different FE frameworks. There will be conflicts. I only ever use Bootstrap based plugins (like bootstrap-datepicker) for UI components to avoid this type of issue entirely.

hass’s picture

I do not like to reinvent the wheel and I do not think it's worth the effort to build a new module just because of one line of CSS that must not overridden by random JS code. The module https://www.drupal.org/project/bdtpicker does not work well and cannot used as widget for fields.

Any other module I may missed?

markhalliwell’s picture

I do not like to reinvent the wheel

You don't have to, just add the library to your sub-theme and initialize it from your theme's JS. It doesn't need to be a module.