Skip to content

Pagination component numbering issue on small screens #3324

@jackheslop96

Description

@jackheslop96

Description of the issue

For smaller screen sizes the pagination numbering stops obeying the rules as defined here.

CleanShot 2023-02-22 at 09 44 50@2x

Steps to reproduce the issue

This issue can be reproduced by going to https://www.staging.tax.service.gov.uk/auth-login-stub/gg-sign-in?continue=/manage-transit-movements/draft-declarations using enrolment:

  • Enrolment Key: HMRC-CTC-ORG
  • Identifier Name: EORINumber
  • Identifier Value: 1234567

For a smaller screen size you will see the behaviour as demonstrated in the above screenshot.

Actual vs expected behaviour

In the above screenshot I would expect to see

  • 1 2 [3] 4 ... 7 for a normal screen size
  • 1 ... [3] ... 7 for a smaller screen size

Environment (where applicable)

  • Operating system: All
  • Browser: All
  • Browser version: All
  • GOV.UK Frontend Version: play-frontend-hmrc 6.5.0-play-28

Additional information

See the following thread in Slack for more info: https://hmrcdigital.slack.com/archives/CJMUM9AG3/p1676914677343619

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changepagination🐛 bugSomething isn't working the way it should (including incorrect wording in documentation)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions