Can't use input method in snap apps

According to my experience currently on iBus is able to function in snap apps. There’s code in supporting Fcitx but it doesn’t seem to work.