code: function fitTop(bottomConstraint, flyoutMeasurements) {
                              nextTop = bottomConstraint - flyoutMeasurements.totalHeight;
                              nextAnimOffset = AnimationOffsets.top;
                              return (nextTop >= _Overlay._Overlay._keyboardInfo._visibleDocTop &&
                                      nextTop + flyoutMeasurements.totalHeight <= _Overlay._Overlay._keyboardInfo._visibleDocBottom);
                          }
docs: See if we can fit in various places, fitting in the main view, ignoring viewport changes, like for the IHM.