Keir

Results 29 comments of Keir

In case it helps others, this is how I combat this issue: ``` $(document).on($.modal.BLOCK, function(event, modal) { $(html).addClass('no-scroll'); }); $(document).on($.modal.AFTER_CLOSE, function(event, modal) { $(html).removeClass('no-scroll'); }); ``` ``` html.no-scroll, html.no-scroll body...

@brakai295 I'm using `$html` as I already defined it as a variable earlier in my code as `var $html = $('html')`. You can use that, or simply `$('html')` in place...

@brakai295 Sorry, I wasn't paying attention when I posted - you need `$('html')` not `$(html)`. I recommend reading a basic intro tutorial for jQuery as it is easy to understand...

@brakai295 it's an unfortunate irritation - removing the scroll on html means it doesn't maintain scroll position. You can add some JavaScript to detect the current scroll position at the...

Just for reference, I prefer the approach detailed in [this gist](https://gist.github.com/gavinballard/1a988d3056d6ecc1f87f) rather than changing core - I use this if it is helpful to anyone: ``` $(document).ajaxComplete(function(event, jqxhr, settings) {...

@pdaleramirez thanks, but, if the creation of the user AFTER check out is the issue, how is it that all the other customer information is saved? Either way, probably worth...

Got to the bottom of this - `paymentSource` is saved against User rather than Customer, which seems a little odd as all other data is against Customer. And, yes, it...

Created a Stack Exchange query for finding a workaround in the meantime: https://craftcms.stackexchange.com/questions/39598/commerce-3-register-user-and-save-payment-source-after-order-complete-for-gues

You can create your own custom attributes, see the demo in the docs: https://codepen.io/cferdinandi/pen/ywMdKp Specifically, line 22 of the demo JS: ``` messages: { valueMismatch: function (field) { var customMessage...

I found that `fixedContentPos: true` in MFP options, combined with `-webkit-overflow-scrolling:touch` on `.mfp-wrap` helped me. I had a few issues with scroll flickering so also adding `-webkit-transform:translateZ(0)` for hardware acceleration...