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.esm.js +8 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +8 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4940,7 +4940,10 @@ const Dropdown = () => {
|
|
|
4940
4940
|
// Create dropdown with proper positioning
|
|
4941
4941
|
const dropdownVnode = m('ul.dropdown-content.select-dropdown', {
|
|
4942
4942
|
tabindex: 0,
|
|
4943
|
-
style: Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (maxHeight ? { maxHeight } : {})),
|
|
4943
|
+
style: Object.assign(Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (maxHeight ? { maxHeight } : {})), {
|
|
4944
|
+
// The full-screen portal container has pointer-events disabled so it
|
|
4945
|
+
// does not block the modal. Re-enable them for the actual menu.
|
|
4946
|
+
pointerEvents: 'auto' }),
|
|
4944
4947
|
oncreate: ({ dom }) => {
|
|
4945
4948
|
state.dropdownRef = dom;
|
|
4946
4949
|
},
|
|
@@ -7355,7 +7358,10 @@ const Select = () => {
|
|
|
7355
7358
|
// Create dropdown with proper positioning
|
|
7356
7359
|
const dropdownVnode = m('ul.dropdown-content.select-dropdown', {
|
|
7357
7360
|
tabindex: 0,
|
|
7358
|
-
style: Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (attrs.maxHeight ? { maxHeight: attrs.maxHeight } : {})),
|
|
7361
|
+
style: Object.assign(Object.assign(Object.assign({}, getPortalStyles(state.inputRef)), (attrs.maxHeight ? { maxHeight: attrs.maxHeight } : {})), {
|
|
7362
|
+
// The full-screen portal container has pointer-events disabled so it
|
|
7363
|
+
// does not block the modal. Re-enable them for the actual menu.
|
|
7364
|
+
pointerEvents: 'auto' }),
|
|
7359
7365
|
oncreate: ({ dom }) => {
|
|
7360
7366
|
state.dropdownRef = dom;
|
|
7361
7367
|
},
|