mithril-materialized 3.17.4 → 3.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -4942,7 +4942,10 @@
4942
4942
  // Create dropdown with proper positioning
4943
4943
  const dropdownVnode = m('ul.dropdown-content.select-dropdown', {
4944
4944
  tabindex: 0,
4945
- style: Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (maxHeight ? { maxHeight } : {})),
4945
+ style: Object.assign(Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (maxHeight ? { maxHeight } : {})), {
4946
+ // The full-screen portal container has pointer-events disabled so it
4947
+ // does not block the modal. Re-enable them for the actual menu.
4948
+ pointerEvents: 'auto' }),
4946
4949
  oncreate: ({ dom }) => {
4947
4950
  state.dropdownRef = dom;
4948
4951
  },
@@ -7357,7 +7360,10 @@
7357
7360
  // Create dropdown with proper positioning
7358
7361
  const dropdownVnode = m('ul.dropdown-content.select-dropdown', {
7359
7362
  tabindex: 0,
7360
- style: Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (attrs.maxHeight ? { maxHeight: attrs.maxHeight } : {})),
7363
+ style: Object.assign(Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (attrs.maxHeight ? { maxHeight: attrs.maxHeight } : {})), {
7364
+ // The full-screen portal container has pointer-events disabled so it
7365
+ // does not block the modal. Re-enable them for the actual menu.
7366
+ pointerEvents: 'auto' }),
7361
7367
  oncreate: ({ dom }) => {
7362
7368
  state.dropdownRef = dom;
7363
7369
  },