Closed huytr1995 closed 2 years ago
Ref: https://github.com/allenai/scholar/pull/31003
This PR is adding the event.preventDefault() & event.stopPropagation() to the Zoom In/Out button so when the Citation Pop Over is opened and we click these button it won't close the Card due to these event not being bubble up.
Yarn lint: fix
Description
Ref: https://github.com/allenai/scholar/pull/31003
This PR is adding the event.preventDefault() & event.stopPropagation() to the Zoom In/Out button so when the Citation Pop Over is opened and we click these button it won't close the Card due to these event not being bubble up.
Testing Plan
Yarn lint: fix