create a new hideKeyboard strategy based on ruby_lib