Fcitx not works for microsoft edge browser or google chrome

I setup the fcitx5 with fcitx-chewing on my nixos, it works well on gtk or qt app even obs-studio, but not work for google-chrome and msedge.