- Issue created by @pivica
Is this something that can or should be fixed in Drupal Core or is it more of an Entity Browser bug that we should move to that project?
- Merge request !10942AJAX scrollTop() fails in EB modal with custom scrolling rules. β (Open) created by pivica
- π·πΈSerbia pivica
MR is ready for a check, and a fix is quite simple because I just optimized initialization and usage of scrollTarget and just made sure it is always a jQuery object no matter of code path execution.
> Is this something that can or should be fixed in Drupal Core or is it more of an Entity Browser bug that we should move to that project?
@cilefen I think the actual problem is in Drupal.AjaxCommands.scrollTop which does not properly initialize scrollTarget variable for all edge cases.
- πΊπΈUnited States smustgrave
So reading the title first thought was this sounds like entity browser bug. But if it's not, per #9 then title should reflect the core bug
Issue summary appears to be incomplete
For core may need test coverage, if possible.