RobinCK / vue-popper

:whale: VueJS popover component based popper.js πŸ‡ΊπŸ‡¦
https://robinck.github.io/vue-popper/
MIT License
438 stars 105 forks source link

gpuAcceleration does not work #159

Closed lastertd closed 1 year ago

lastertd commented 1 year ago
    <Popper
        :trigger="trigger"
        :options="{
            placement: placement,
            gpuAcceleration: false,
            modifiers:{
                offset: {
                    offset:`0,${offset}`,
                },
            },
        }"
    >

After I set gpuAcceleration: false, the positioning of the elements still follows translate3d

This has caused me to be unable to add a transform to the element

lastertd commented 1 year ago
        :options="{
            placement: placement,
            modifiers:{
                offset: {
                    offset:`0,${offset}`,
                },
              computeStyle: {
                gpuAcceleration: false
              }
            },

        }"

like this

I searched for a long time to solve it, but I don't understand why it should be written like this. I hope the author can try to introduce the commonly used options, which is different from the use in props!πŸ˜–πŸ˜–