Revert "add hide event"

This reverts commit 0af4c5169aafd0ccff8491862df7efea965c179d.