Is there a way to center a floating group horizontally?

@projectmuse.dev

You can use the CSS pointer-events property to fix this… i.e. pointer-events: none; on the floating group itself

If you have any ‘clickable’ elements inside the floating group, then you’ll need to use pointer-events: auto; on those elements to make them clickable.

1 Like