Menu icon Foundation

My Posts








My Comments

Lee Davies commented on Barbara Schendel's post almost 2 years

I have the same issue. Comment out the block in _select.scss
 
@if $select-triangle-color != transparent {

Lee Davies commented on Kiran Kashalkar's post about 2 years

I struggled with this when creating modals via javascript. It seems to be the overlay that is causing the problem, if you stop the second modal having an overlay it positions correctly
You have to nest the modal markup inside the parent markup and turn off the overlay
 
// reveal is not happy about nesting modals, we have to stop a second overlay
var modals = $('div.reveal');
if (modals.length !== 0) {
dialog.attr('data-overlay', 'false'); //stop overlay
modals.last().append(dialog); //append inside the parent modal
} else {
$('body').append(dialog);
}
 
 

Lee Davies commented on Lee Davies's post about 2 years

Full error
 
foundation.min.js:4 Uncaught TypeError: Cannot read property 'closeOnEsc' of null
at e.value (foundation.min.js:4)
at HTMLDivElement.close.zf.trigger (foundation.min.js:4)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.q.handle (jquery.min.js:3)
at Object.trigger (jquery.min.js:4)
at HTMLButtonElement.<anonymous> (jquery.min.js:4)
at Function.each (jquery.min.js:2)
at r.fn.init.each (jquery.min.js:2)
at r.fn.init.trigger (jquery.min.js:4)
at HTMLButtonElement.closeListener (foundation.min.js:1)
 

Lee Davies commented on Lee Davies's post over 2 years

Hi Rafi, Yes. They are added to the nested anchor using ::after but not to item with .menu-text

Lee Davies commented on Lee Davies's post over 3 years

If I removed the class described in FOUC (is-dropdown-submenu-parent) it works as expected

Lee Davies commented on Lee Davies's post over 3 years

All markup is foundation and validates as html5. no errors. It happens in the codepen too which is just the js, css and html

Lee Davies commented on Lee Davies's post over 4 years

Hi Jitendra, I just updated with a rough help extension, you just need to make the rendered markup the same (this won't cut, paste and run because of dependant methods)

Lee Davies commented on Lee Davies's post over 4 years

Has anyone else had this issue? I've come back to after a few weeks away and I still can't figure out why the input isn't updating

Lee Davies commented on Lee Davies's post over 4 years

That strikes me as a bit odd :/ Surely it changes the state without javascript else there would be a js component.

Lee Davies commented on Lee Davies's post almost 5 years

For some reason chrome wasn't resetting the padding on the container div. The other browsers were so I added a rule with greater specificity that chrome picked up.

Posts Followed




Following

    No Content

Followers

My Posts

My Comments

You commented on Barbara Schendel's post almost 2 years

I have the same issue. Comment out the block in _select.scss
 
@if $select-triangle-color != transparent {

You commented on Kiran Kashalkar's post about 2 years

I struggled with this when creating modals via javascript. It seems to be the overlay that is causing the problem, if you stop the second modal having an overlay it positions correctly
You have to nest the modal markup inside the parent markup and turn off the overlay
 
// reveal is not happy about nesting modals, we have to stop a second overlay
var modals = $('div.reveal');
if (modals.length !== 0) {
dialog.attr('data-overlay', 'false'); //stop overlay
modals.last().append(dialog); //append inside the parent modal
} else {
$('body').append(dialog);
}
 
 

You commented on Lee Davies's post about 2 years

Full error
 
foundation.min.js:4 Uncaught TypeError: Cannot read property 'closeOnEsc' of null
at e.value (foundation.min.js:4)
at HTMLDivElement.close.zf.trigger (foundation.min.js:4)
at HTMLDivElement.dispatch (jquery.min.js:3)
at HTMLDivElement.q.handle (jquery.min.js:3)
at Object.trigger (jquery.min.js:4)
at HTMLButtonElement.<anonymous> (jquery.min.js:4)
at Function.each (jquery.min.js:2)
at r.fn.init.each (jquery.min.js:2)
at r.fn.init.trigger (jquery.min.js:4)
at HTMLButtonElement.closeListener (foundation.min.js:1)
 

You commented on Lee Davies's post over 2 years

Hi Rafi, Yes. They are added to the nested anchor using ::after but not to item with .menu-text

You commented on Lee Davies's post over 3 years

If I removed the class described in FOUC (is-dropdown-submenu-parent) it works as expected

You commented on Lee Davies's post over 3 years

All markup is foundation and validates as html5. no errors. It happens in the codepen too which is just the js, css and html

You commented on Lee Davies's post over 4 years

Hi Jitendra, I just updated with a rough help extension, you just need to make the rendered markup the same (this won't cut, paste and run because of dependant methods)

You commented on Lee Davies's post over 4 years

Has anyone else had this issue? I've come back to after a few weeks away and I still can't figure out why the input isn't updating

You commented on Lee Davies's post over 4 years

That strikes me as a bit odd :/ Surely it changes the state without javascript else there would be a js component.

You commented on Lee Davies's post almost 5 years

For some reason chrome wasn't resetting the padding on the container div. The other browsers were so I added a rule with greater specificity that chrome picked up.

Posts Followed

Following

  • No Content

Followers