An alternative solution (formerly used on gwern.net, prior to the introduction of the “slidenotes” feature) would be to check, on hover over a citation, whether the target sidenote is within the viewport; and, if it is not, to then provide the footnote popup, as if the client viewport were too narrow to display sidenotes:
Yeah, something like this is a good idea (though of course, realistically the number of posts for which this matters is very small and so not super high priority).
An alternative solution (formerly used on gwern.net, prior to the introduction of the “slidenotes” feature) would be to check, on hover over a citation, whether the target sidenote is within the viewport; and, if it is not, to then provide the footnote popup, as if the client viewport were too narrow to display sidenotes:
Yeah, something like this is a good idea (though of course, realistically the number of posts for which this matters is very small and so not super high priority).