There doesn't seem to be any mechanism to open/close the NotificationDropdown control without simulating a click event on the parent element in the dom. It would be incredible if it were possible to programmatically open/close the NotificationDropdown control.
Problem / Motivation
There doesn't seem to be any mechanism to open/close the NotificationDropdown control without simulating a click event on the parent element in the dom. It would be incredible if it were possible to programmatically open/close the NotificationDropdown control.
Proposed solution
Expose a
boolean?
property namedisOpen
or something along those lines, which is monitored by NotificationDropdown to callsetOpen
at https://github.com/GetStream/react-activity-feed/blob/abc03aaa34dc03b8e8765f95fc8a1254366a4502/src/components/NotificationDropdown.tsx#L45