Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scroll issue #404

Open
wants to merge 2 commits into
base: master
from
Open

Fix scroll issue #404

wants to merge 2 commits into from

Conversation

@joskar
Copy link
Collaborator

joskar commented May 23, 2018

Το πρόβλημα με το scroll λύθηκε άλλα δεν ξέρω εάν είναι αποδεκτή λύση.

Σύνοψη προβλήματος:
O browser βλέπει to hash και κάνει scroll στο element που έχει το αντίστοιχο id. Όμως το navigation της σελίδας είναι sticky με αποτέλεσμα να κάθετε από επάνω με αποτέλεσμα να μην είναι ορατό στον χρήστη τα tabs/μέρος του κείμενου.

Παρενέργειες λύσης:
Η γραμμή που έβαλα λύνει το πρόβλημα αλλα με μια παρενέργεια. Η παρενέργεια είναι ότι το οπτικό αποτέλεσμα είναι κάπως jumpy διότι πρώτα ο browser κάνει to δικό του scroll. Και μετα όταν το document είναι ready ξανά κάνει scroll λαμβάνοντας υπόψιν το ύψος του navigation bar καθώς και το ύψος του div με τα tabs ώστε να εμφανίσει και αυτά.

jkarr and others added 2 commits May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.