Skip to content

Warnings and logs in the console when using on watch #58

Open
@bencallis

Description

@bencallis

Describe the bug
When using the stepper view there are several warnings in the logs. Performance to render the view is also somewhat slow which could be related to the warnings.

Bound preference HeightPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference VerticalHeightPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Bound preference WidthPreference tried to update multiple times per frame.
Intermediate Divider Height [5: 19.5, 6: 19.5, 12: 19.5, 11: 19.5, 14: 19.5, 3: 19.5, 2: 19.5, 7: 19.5, 10: 19.5, 0: 19.5, 9: 19.5, 13: 19.5, 8: 19.5, 1: 19.5, 4: 19.5]
Height of Divider [0: 628.5]
Final Line Height 609.0

The StepperView is contained within a ScrollView and VStack

            ScrollView {
                VStack {
                    makeStepperView()
                    Text("Sample label 😎").font(.caption)
                }.padding(.bottom)
            }
            Button(action: handleStartTap) { Text("Start") }
        }

Info (please complete the following information):

  • Device: 6.2 Simulator and device on 6.2
  • Pod Version 1.4.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions