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.

elements inside ui-view are not considered as child elements?

See original GitHub issue

I have the following markup.

<div id="map-canvas" class="map">
            <div ui-view></div>
        </div>

The elements that are inside the ui-view are not treated as child elements of the map div. i.e i can click through them to the map. Are the elements only added the first time the map is initialized? Because i am initializing the map one time in the parent view controller and getting the reference in all the child controllers. Because in my project i wanted to have map as a main view and place elements on it using different states by employing angular ui-routing.

if i set the height of ui-view div to 100% then i can not select the map but can select elements in the ui-div.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
FatalTouchcommented, Apr 12, 2016

@Nadejde This is the modified js i am using right now. try to see if this works for you.

https://drive.google.com/file/d/0B8rNr_oqeCv0NU80NUN5enk5eGM/view?usp=sharing

0reactions
Nadejdecommented, Apr 12, 2016

It wasn’t because of the directive. It was because the object was outside the screen when the map was loaded. Will update if I figure it out. Thank you again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - VoiceOver parent and child views as accessibility elements
There is a parent view A which contains view B and C. If I set all views as accessibility element, only view A...
Read more >
UIView | Apple Developer Documentation
Nesting a view creates a parent-child relationship between the nested child view (known as the subview) and the parent (known as the superview)....
Read more >
Common Accessibility Element Pitfalls and How to Avoid Them
The isAccessibilityElement property is one of the most important. It's really easy to go wrong with this property, and in turn break ...
Read more >
Accessibility element in Swift UI - Medium
So, if the container is accessible, the child elements are no longer separately accessible. The container should combine the information of ...
Read more >
UIView Class (UIKit) - Microsoft Learn
Base class used for components that want to render themselves and respond to events.
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