When you use the shoulder trigger buttons for either an action or to mine, the action is repeated rapidly for several seconds. This makes it particularly difficult to open/close doors/gates. They simply keep opening and closing in quick succession until you move away - which requires careful timing in order to make sure that the door/gate remains how you want it!
I've experienced this with a Moga Pro but, as you can see from this reddit thread: https://www.reddit.com/r/MCPE/comments/3f22ne/0120_bug_reports_build_1/ctktpd0 ) it also affects PS£ controllers
Does this bug still appear in 0.13.1?