Skip to content

Several minor bugs #12

Closed
Closed
@raven2cz

Description

@raven2cz

First, NICE work! Thanks for this trick.

I tested your release and found several problems (maybe bugs). This is my tested element:

<code-input id="httpHeadersCodeInput" style="font-size: large; resize: vertical; overflow: auto; height: 400px; width: 100%;"
                          lang="HTTP" placeholder="Type HTTP HEADERS here" template="syntax-highlighted" onchange="httpHeadersOnChange(this.value);"
                          value="Accept-Charset: utf-8"</code-input>

There are a list of them which I found:

  • placeholder is not shown. I tried to remove value param, but the placeholder is not shown in text area.
  • function onchange is not called, no action for this function. I tried to test oninput which works. Maybe change your documentation guide?
  • In some environments, like bootstrap, the triangle for resizing of area is outside of rendered code rectangle. In addition, it seems that much more space is defined outside. Maybe some wrong calculation between text area and code area. Screenshot attached
    image
  • Default font is very large, around extra-large or higher. It is not common approach, I have to use font-size: large for standard font size. This is a strange behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions