User tests: Successful: Unsuccessful:
Pull Request resolves #47675
Fixed the isNested variable to properly handle data-nested="false" attribute by converting the string value to a boolean.
data-nested="false" on a draggable tabledata-nested="true" to ensure nesting still worksWhen data-nested="false" is set, drag-and-drop sorting does not work because the string "false" is treated as truthy in JavaScript, causing the condition if (isNested) to incorrectly evaluate to true.
Both data-nested="true" and data-nested="false" work correctly. The fix explicitly converts the dataset string value to a boolean using isNested = container.dataset.nested === 'true';
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Repository NPM Change |
Please use the Pull Request-Template.