Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

submit Om Next solution #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

j1mr10rd4n
Copy link

This solution uses clojurescript and om next.

@staltz
Copy link
Owner

staltz commented Feb 27, 2016

Hi, thanks for the submission, and so sorry to take so long to review it.

It's almost perfect. Here's a problem I noticed: the list of items should never do a sudden "jump" like this:

j1

Here's how any other submission behaves:

garbles

@j1mr10rd4n
Copy link
Author

OK, thanks for the feedback! I'd assumed that the five rows should be populated if possible, hence the jump on the initial load when the UI figures out that the first request is only 3 from the end. I'll add a commit to fix.

The first request (from the specifications) happens to be the third jedi
from the end of the list, so the final jedi appeared in the third row.
In the previous implementation, that row was auto-scrolled to the bottom
and the table was filled at the top. This commit removes that behaviour
after staltz's comments in staltz#58.
@j1mr10rd4n
Copy link
Author

Hi again - I've committed a change to stop the auto-scrolling on initial load.

@j1mr10rd4n
Copy link
Author

j1mr10rd4n commented May 31, 2017

hi @staltz - might you get a chance to merge this? i'd like to refer to it in some docs and would prefer to link to your master branch - thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants