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

Inputs inside the table looks elongated on Android devices #1198

Closed
7 of 18 tasks
ciprianandrusca opened this issue May 25, 2023 · 8 comments
Closed
7 of 18 tasks

Inputs inside the table looks elongated on Android devices #1198

ciprianandrusca opened this issue May 25, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@ciprianandrusca
Copy link

Prerequisites

  • I have checked the open Issues to see if this has already been raised
  • I have searched the closed Issues to see if a similar bug has been fixed in the past

Description

This bug affects:

  • GitHub workflows
  • Component
  • Config
  • Performance
  • Tooling / Frameworks
  • Documentation
  • Something else

Steps to Reproduce

  1. Add a Canopy table to the page
  2. Set [showColumnsAt]="'sm'" to the table
  3. Add 2 columns (<td lg-table-cell>)
  4. Add input in the 2nd column ( <lg-input-field >)
  5. View the table on a Android devices

Expected behaviour:

Input fields are having the same width on Android and Apple devices.
image

Actual behaviour:

Input fields are elongated on Android devices only.

image

Recurrence frequency:

  • Occurs every time
  • Occurs intermittently
  • Unsure

Package version

  • This problem started happening recently
  • This problem started happening a while ago
  • Unsure

Configuration and environment

  • This pertains to local development
  • This pertains to the CI
  • This pertains to Storybook

Additional Information

@elenagarrone elenagarrone added the bug Something isn't working label Jul 24, 2023
@pauleustice
Copy link
Contributor

@eduardh-landg To investigate within the next couple of weeks

@pauleustice
Copy link
Contributor

@taraculpin To investigate in Ed's absence

@eduardh-landg
Copy link
Contributor

I can confirm the issue is still persisting.
image

@eduardh-landg
Copy link
Contributor

eduardh-landg commented Jun 3, 2024

I was able to replicate the same issue by creating a blank page with an input text. This demonstrates it is not a Canopy issue.
image

Edit: Test device is a Pixel 3 running the out of the box Chrome 113.

@eduardh-landg
Copy link
Contributor

Same behavior identified under Firefox 110.0.1
image

@eduardh-landg
Copy link
Contributor

Same behavior identified between Firefox simulating the resolution of an iPhone 15 and a iPhone 15 simulator.
image

@eduardh-landg
Copy link
Contributor

Conclusion: as long as specific behavior for width is not specified on the input element, the browser engine will manage it as seen in the reported issue. This is not specifically a Canopy bug. Is there specific behavior expected from Canopy on this? @ciprianandrusca

@pauleustice
Copy link
Contributor

We discussed during standup and agreed that the width of the input field is a responsibility of the integrator/consumer, rather than of Canopy itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants