question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The SegmentedControl component invalid on IOS.

See original GitHub issue

Version

2.1.5

Environment

antd-mobule@2.1.5 ios 10.3.2(14F89) 和 ios 11

Reproduction link

https://github.com/sundayha/test_app

Steps to reproduce

重现步骤点击提供的重现链接即可,很简单。

What is expected?

fix it thanks

What is actually happening?

The three component is did not work


一个issue提了3个问题,请帮忙看下。多谢。

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
HelloHxzcommented, Mar 16, 2018

我们也遇到了苹果手机segment点击不了的问题;是因为segment `item中div遮住了点击元素的问题。我们使用css简单避开了;

.am-segment-item-inner{
  display: none;
}
0reactions
iamwangkjcommented, May 17, 2018

@HelloHxz your method solves my problem.thx.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmented Control not working as expected on Segment 0
Programmatically set the segment index in the viewDidAppear or viewDidLoad (upto your application requirements)
Read more >
UISegmentedControl tintColor | Apple Developer Forums
In iOS 13 the UISegmentedControl is redesigned to be a more gentle and materialized component, and I believe tintColor is no longer ......
Read more >
1.8. Grouping Compact Options with UISegmentedControl
A segmented control is a UI component that allows you to display, in a compact UI, a series of options for the user...
Read more >
UISegmentedControl Programmatically (EASY) - YouTube
This tutorial is part of ios app development course. In this segment control swift tutorial we will talk about custom segmented control, ...
Read more >
Segmented Control | SAP Fiori for iOS Design Guidelines
A segmented control is a horizontal bar divided into two or more mutually ... Related Components/Patterns: Segmented Control Form Cell.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found