You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this issue while adding Bootstrap v5.2.1 to a legacy codebase that runs using AngularJS v1.8.3.
The library swap went smooth for 5.2.0, but ever since 5.2.1 there has been an issue with the last element rendered with a scoped array variable using AngularJS' ng-repeat directive whose click action directly manipulates the aforementioned variable.
I have linked to a reduced test case for the same.
It would be nice if you guys can find the issue, but I can understand if you chose not to since AngularJS is way past LTS.
PS: While debugging, I noticed that switching data-bs-backdrop to static prevented the issue - meaning Bootstrap is probably thinking that the element is probably outside the modal.
Prerequisites
Describe the issue
I encountered this issue while adding Bootstrap v5.2.1 to a legacy codebase that runs using AngularJS v1.8.3.
The library swap went smooth for 5.2.0, but ever since 5.2.1 there has been an issue with the last element rendered with a scoped array variable using AngularJS'
ng-repeat
directive whose click action directly manipulates the aforementioned variable.I have linked to a reduced test case for the same.
It would be nice if you guys can find the issue, but I can understand if you chose not to since AngularJS is way past LTS.
PS: While debugging, I noticed that switching
data-bs-backdrop
tostatic
prevented the issue - meaning Bootstrap is probably thinking that the element is probably outside the modal.Reduced test cases
Codepen link to the replicated issue
What operating system(s) are you seeing the problem on?
Windows, macOS, Linux
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox
What version of Bootstrap are you using?
v5.2.1
The text was updated successfully, but these errors were encountered: