Extend Layout views with native properties


I am trying to create a view that animates up and down with the keyboard. Following this tutorial, I have to extend my superview so it can become a first responder. To do that, I have to extend a UIView’s canBecomeFirstResponder() to return true:

const ExtendedUIView = UIView.extend({
  canBecomeFirstResponder: () => true
  name: "ExtendedUIView",
  exposedMethods: {}

But, for instance, GridLayout is quite a deep extended module from various objects, making it very hard to specifically extend a GridLayout so it can become a first responder. Or is it possible to change it in a simpler way?