You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixing an issue with dragging IAM and the JS action triggering
* Added two callbacks to toggle the state of dragging for an IAM messageView (DraggableRelativeLayout)
* onDraggingStart will set the Boolean flag true and onDraggingEnd will set the flag false
* When isDragging is true the JS action not be fired and is triggered by passing a specific drag threshold
* isDragging is set false when touch down is detected on the DraggableRelativeLayout
This is not finished currently, needs more detailed testing and clean up
* This functionality will differentiate up and down direction of drag
* Will account for all IAM types (top, bottom, center, full screen)
* Wrapping up with dragging action issue with IAM
* Added a dragThresholdY param to the DraggableRelativeLayout to create callback handling for onDraggingStart and onDraggingEnd
* We have to calculate the threshold for each IAM type since top, bottom, center, and full screen all have different Y positions
* Clean up after review
* Wasn't adding threshold to the center modals and full screen IAMs
* Changed DraggableListener to an interface and shortened names of onDragStart and onDragEnd
* Added comments and minor clean up to callbacks being triggered
* Update DraggableRelativeLayout.java
0 commit comments