ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
388 stars 48 forks source link

mtx-select style is broken while use bootstrap-grid #253

Closed hanogin closed 6 months ago

hanogin commented 6 months ago

I update to latest version of angular, angular material and this extention and i notice something is off with the stlye of the mtx-select while use bootstrap-grid.css

Capture

Im not use the all bootstrap lib, only the css for the grid sysytem I did a public repo for this, everithing is default, what cause the problem is this line in earlier version everithing was working fine. the original select of angular material is working fine.

nzbin commented 6 months ago

This is because the option set appendTo="body" by default, the dropdown-panel's position is absolute.

body {
  position: relative;
}
hanogin commented 6 months ago

thank you!