πŸ‡―πŸ‡΅Japan @nyaomaru

Account created on 20 February 2024, 4 months ago
#

Recent comments

πŸ‡―πŸ‡΅Japan nyaomaru

Sorry to bother you. -> #17

I updated issue summary.
Could you review again?

Sorry for #21.
I misunderstood your issue.
My issue is the JS error, but not style.

πŸ‡―πŸ‡΅Japan nyaomaru

Thank you very much!

I I confirmed my comment is viewed :)

πŸ‡―πŸ‡΅Japan nyaomaru

I just encounter the same issue. -> #6

After I opened to delete modal in layout builder page and cancel to close, below error occured on console.

An error occurred during the execution of the Ajax response: TypeError: Cannot read properties of undefined (reading 'style')

I understand the reason why this error is in off-canvas.js, because the style property is not exsisted in jQuery type.

This commit (https://git.drupalcode.org/project/drupal/-/commit/6a43b511df9e26aa5abf0...) changed the jQuery's css() to vanilla js script.

But, the variable of $mainCanvasWrapper is still type of jQuery.

So, the Drupal.offCanvas.$mainCanvasWrapper[0].style has type error.

I fixed it to change the type of $mainCanvasWrapper to NodeListOf and handle when the element is undefined.

If the code is wrong, I would like to be pointed out. :)

πŸ‡―πŸ‡΅Japan nyaomaru

I also have got same error.

I created a patch and upload to https://www.drupal.org/project/drupal/issues/3414753#comment-15455999 πŸ› Drupal ajax error after D10 update from version 10.0.11 to 10.2.1 Needs review .

COuld you try it?

πŸ‡―πŸ‡΅Japan nyaomaru

I've got your same error.

I created a patch and upload to https://www.drupal.org/project/drupal/issues/3414753#comment-15455999 πŸ› Drupal ajax error after D10 update from version 10.0.11 to 10.2.1 Needs review

Could you try it?

πŸ‡―πŸ‡΅Japan nyaomaru

I just encounter the same issue. -> #6

After I opened to delete modal in layout builder page and cancel to close, below error occured on console.

An error occurred during the execution of the Ajax response: TypeError: Cannot read

I understand the reason why this error is in off-canvas.js, because the style property is not exsisted in jQuery type.

This commit (https://git.drupalcode.org/project/drupal/-/commit/6a43b511df9e26aa5abf0...) changed the jQuery's css() to vanilla js script.

But, the variable of $mainCanvasWrapper is still type of jQuery.

So, the Drupal.offCanvas.$mainCanvasWrapper[0].style has type error.

I fixed it to change the type of $mainCanvasWrapper to NodeListOf and handle when the element is undefined.

If the code is wrong, I would like to be pointed out. :)

Production build 0.69.0 2024