I know, not another JavaScript library for Bootstrap modals, right? However, I found that existing libraries seem to be no longer updated/supported, are for older versions of Bootstrap, and/or still ...
In Bootstrap 5 prior 5.3 there is an issue that the css variables for breakpoints are missing, which was fixed (by me) with version 5.3. Up to version 5.3, you can use the bootstrap-detect-breakpoint ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results