Skip to content

[Spend Allocation] Input Styling on Firefox Needs to Be Overridden #88040

Open
@souredoutlook

Description

@souredoutlook

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Navigate to spend allocation settings
  2. Click "New Allocation"
  3. Observe that incremental buttons exist on either side of the input field as well as "stepper arrows" inside the field itself
Screen.Recording.2025-03-26.at.6.15.21.PM.mov

Expected Result

Incrementing can only be done with the explicitly provided components

Actual Result

Firefox (and likely other browsers) may opt to provide stepper arrows in the input field with type number.

This is technically expected as per: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number

The following CSS will override the stepper arrows on Firefox specifically:

    input[type=number] {
        -moz-appearance: textfield;
    }

Product Area

Unknown

Link

No response

DSN

No response

Version

No response

Activity

getsantry

getsantry commented on Mar 26, 2025

@getsantry
Contributor

Assigning to @getsentry/support for routing ⏲️

moved this to Waiting for: Support in GitHub Issues with 👀 3on Mar 26, 2025
moved this from Waiting for: Support to No status in GitHub Issues with 👀 3on Mar 26, 2025
moved this to Waiting for: Support in GitHub Issues with 👀 3on Mar 26, 2025
getsantry

getsantry commented on Mar 26, 2025

@getsantry
Contributor

Routing to @getsentry/product-owners-settings-spend-allocation for triage ⏲️

25 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @isabellaenriquez@souredoutlook

        Issue actions

          [Spend Allocation] Input Styling on Firefox Needs to Be Overridden · Issue #88040 · getsentry/sentry