![]() Have fallback placements to a AnchorBase is a div.Provide actions to attach non-react bases, anchors or reposition sidenotes.All positioning is based on the article, and works with relative, fixed or absolute positioning.The demo is pretty basic, and not nearly as pretty as the gif above, just blue, green and red divs floating around. It is common to put a click handler on the body (or similar) to deselect any sidenotes. This can be difficult to stop in some cases, but can be anticipated with a onClickCapture that fires theĭisableNextDeselectSidenote action. This intercepts the redux action and stops it from happening for one time. ![]()
0 Comments
Leave a Reply. |