mdx-deck icon indicating copy to clipboard operation
mdx-deck copied to clipboard

Fix #738 - CodeSurfer animations briefly flashing

Open micheleb opened this issue 4 years ago • 1 comments

The issue I reported happens because the current page index is reset before the current step is, so CodeSurfer renders the diff between its last step and the first (hence, it displays them backwards, very quickly).

The only change I had to make was inverting the two calls at lines 92-93. All the other changes were added by prettier via the pre-commit hook.

micheleb avatar Jul 24 '20 09:07 micheleb

Accurate description and solution. Would recommend attention to this. Maybe removing all the ide changes and only doing the reordering could be better option before a merge. This way it could be easier in the future to follow code evolution. (If you blame ideally you shouldn't see anything unrelated to the fix commit itself in the history)

erdemu avatar Nov 16 '20 12:11 erdemu