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.

[InputElement] Shows up on top of modals (v1)

See original GitHub issue

Describe the bug

InputLeftElement and InputRightElement shows up through modals.

Reproduction: https://codesandbox.io/s/amazing-chatterjee-zoqww?file=/src/App.js

This is due to the InputElement components receiving a z-index of 2.

This could be solved in one of two ways.

  1. Remove the z-index if it’s not needed
  2. Add a higher z-index to the modal overlay component

I’d be willing to create a pull request of either - please let me know what you think is the appropriate approach.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
selbekkcommented, Aug 3, 2020

Thanks! Sorry, didn’t intend to sound so direct. 😃 Thanks for a great product! And feel free to ping me if there’s anything I could contribute with.

1reaction
ljosberinncommented, Aug 3, 2020

Absolutely! Fix would be very easy too, but there probably was a reason why this line was added in the first. place. We’ll investigate 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap modal: background jumps to top on toggle
I have a button on a page, that toggles the modal. When the modal shows up, the page jumps to top. I have...
Read more >
ngModel - AngularJS: API
ngModel ; Animations within models are triggered when any of the associated CSS classes are added and removed on the input element which...
Read more >
Tutorial 6: Transformers and Multi-Head Attention
In this tutorial, we will discuss one of the most impactful architectures of the last 2 years: the Transformer model. Since the paper...
Read more >
tf.compat.v1.data.Dataset | TensorFlow v2.11.0
int64 tensor. reduce_func, A function mapping a key and a dataset of up to window_size consecutive elements matching that key to another dataset....
Read more >
HTML Standard
3.2.5.3 Transparent content models; 3.2.5.4 Paragraphs ... notes regarding localization of form controls; 4.10.5.3 Common input element attributes.
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