Skip to content

Surveys: honor appearance.position (currently bottom-only) #502

@turnipdabeets

Description

@turnipdabeets

Problem

posthog-react-native 4.43.13 (PostHog/posthog-js#3498) added support for honoring appearance.position on all 9 SurveyPosition values (top_left, top_center, top_right, middle_left, middle_center, middle_right, left, center, right). Survey UI on iOS still renders bottom-only regardless of the configured position.

This means surveys created in the PostHog UI with a custom position will not visually match what users see on iOS, breaking parity with the web SDK and React Native.

Expected behavior

Honor appearance.position in the iOS survey UI, matching the web SDK semantics:

  • top_* → anchored to top edge
  • middle_* → vertical middle
  • left / center / right (no prefix) → anchored to bottom edge

Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions