Trigger on enter

@dinhviethoa 

fixes https://github.com/dart-lang/spark/issues/386