Blueprint Quaternion Library

So i was able to have the rotation with left and right panning, however i have another problem

Please check the gif so you know what’s my problem

my current blueprint setup is

i’m able to rotate around the up vector as my axis of rotation for left and right panning.

but for up and down panning weird issue happens.
i think because of the Euler gimbals lock.