vote4hk / warsinhk

Static website for wars.vote4.hk

Home Page:https://wars.vote4.hk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use id attribute for scrolling in case page

tonyhhyip opened this issue · comments

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

  • I'm submitting a ...

    • bug report
    • feature request
    • support request => Please do not submit support request here, see note at the top of this template.
  • Do you want to request a feature or report a bug?
    Add attribute in WarsCaseCard component

  • What is the current behavior?
    Use a function to scroll when loading element the first time

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  • What is the expected behavior?

  • What is the motivation / use case for changing the behavior?
    It doesn't need a library and it works on most of the browser (except IE on XP)

@nandiheath I need your comment before implement and send out PR

i think we better create a separate page for each of the WarCase
so it is more beneficial for 1) sharing 2) no more stupid scrolling..

let me spend some time to do this on weekend