add common problem (see #5048)
This commit is contained in:
parent
139fb04f92
commit
5a9c29462b
@ -40,3 +40,9 @@ $.fn.modal.Constructor.prototype.enforceFocus = function() {};
|
|||||||
```
|
```
|
||||||
|
|
||||||
See [this answer](https://stackoverflow.com/questions/18487056/select2-doesnt-work-when-embedded-in-a-bootstrap-modal/19574076#19574076) for more information.
|
See [this answer](https://stackoverflow.com/questions/18487056/select2-doesnt-work-when-embedded-in-a-bootstrap-modal/19574076#19574076) for more information.
|
||||||
|
|
||||||
|
### The dropdown becomes misaligned/displaced when using pinch-zoom.
|
||||||
|
|
||||||
|
See https://github.com/select2/select2/issues/5048. The problem is that some browsers' implementations of pinch-zoom affect the `body` element, which [Select2 attaches to by default](https://select2.org/dropdown#dropdown-placement), causing it to render incorrectly.
|
||||||
|
|
||||||
|
The solution is to use `dropdownParent` to attach the dropdown to a more specific element.
|
||||||
|
Loading…
Reference in New Issue
Block a user